---
title: "Discussion on \"A Go web service on a free container tier: a 15 MB image and tens of megabytes of RAM\" | Hashnode"
description: "Discussion on \"A Go web service on a free container tier: a 15 MB image and tens of megabytes of RAM\". A net/http service with a health endpoint, graceful shutdown and the port from the environment, a two-stage Dockerfile that builds a 7 MB binary, and what it really uses at runtime on 512 MB."
url: "https://hashnode.com/posts/go-web-service-free-container/6afe825b2674f4f290e235a2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Go web service on a free container tier: a 15 MB image and tens of megabytes of RAM](https://snapdeploy.hashnode.dev/go-web-service-free-container?utm_source=hashnode&utm_medium=feed)

A net/http service with a health endpoint, graceful shutdown and the port from the environment, a two-stage Dockerfile that builds a 7 MB binary, and what it really uses at runtime on 512 MB.

Nov 19 · 7 min read · snapdeploy.hashnode.dev  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#docker](https://hashnode.com/tag/docker)
-   [#devops](https://hashnode.com/tag/devops)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[SnapDeploy](https://hashnode.com/@SnapDeploy)

@SnapDeploy · India

  
[View profile](https://hashnode.com/@SnapDeploy)

From source code to infrastructure in 5 minute, not hours

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
