HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
1Strategy
fargate-cloudformation-example
Systems & Infrastructure2019–2026
1Strategy / fargate-cloudformation-example

fargate-cloudformation-example

An example CloudFormation template that deploys a container to AWS Fargate as a service.

4Distinct people
8Mentions
0Explicit recommenders
234GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

An example CloudFormation template that deploys a container to AWS Fargate as a service.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year8 dated mentions

Observed mentions: 2019-08-15 15:54:58 UTC to 2026-03-24 00:56:00 UTC.

01232019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC303
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC202

What Hacker News says

8 sources
I have been using a modified version of this for 8 years. I didn’t write it https://github.com/1Strategy/fargate-cloudformation-example/... It’s never taken 30 minutes to pass in a new parameter value for the Docker container. Also as far as rollbacks just use —disable-rollbacks. The only time I’ve had CFT get stuck is using custom resources when I didn’t have proper error handling and I didn’t send the failure signal back to CFT. This is with raw CFT using SAM.
In Local Stack Archived their GitHub repo and requires an account to run
Fair point, I’m working on a project now that doesn’t require responsiveness - it’s not user facing. We were burned so bad by Lambda cold starts for user facing lambdas that were backing websites we said forget it and just used ECS/fargate. This is my go to template - I didn’t write it. I found it 7 years ago. https://github.com/1Strategy/fargate-cloudformation-example/... You just update the parameter for your container image and redeploy. Of course you have provisioned concurrency that can help. But the easiest way to test Python lambdas locally is just to run it like any other Python script and call your event handler with the event you want to test
In Stelvio: Ship Python to AWS
That’s actually a good point. It’s been 6 years since I have deployed to EC2. I have been doing Lambda or ECS/Fargate. But when I did it was either: 1. Azure DevOps with agents on EC2 2. Octopus Deploy with agents (not my choice) 3. CodeDeploy with agents All of those are horrible choices. On the other hand, my Fargate deployments have all been: 1. Create Docker container 2. Push to ECR 3. Deploy a parameterized CloudFormation template to update an ECS cluster. I’ve used a modified version of this template for 7 years. I’m not the author. https://github.com/1Strategy/fargate-cloudformation-example/...
In Ask HN: Is Kubernetes still a big no-no for early stages in 2025?
You can’t edit Lambda code in the console when you deploy a Docker image to Lambda. As far as flexibility, while there have been third party libraries that let you deploy your standard Node/Express, .Net/ASP, Python/Flask app to Lambda, now there is an official first party solution https://github.com/awslabs/aws-lambda-web-adapter And as far as ECS, it is stupid simple I’ve used this for years https://github.com/1Strategy/fargate-cloudformation-example/...
In The Evolution of SRE at Google
I agree. I didn’t know anything about Docker - and I am still no expert. I put our entire CI/CD pipeline based on two or three easy to follow articles. After you run dotnet publish https://aws.amazon.com/blogs/compute/hosting-asp-net-core-ap... I never bothered to go through the manually steps. I used the CF template above. Here is the complete Docker file for containerizing an ASP.Net Core API. FROM microsoft/aspnetcore:2.0 WORKDIR /mymvcweb COPY bin/Release/netcoreapp2.0/publish . ENV ASPNETCORE_URLS http://+:5000 EXPOSE 5000 ENTRYPOINT ["dotnet", "mymvcweb.dll"] When you create your registry in ECR. It gives you the Docker commands Here is the CF Template: https://github.com/1Strategy/fargate-cloudformation-example
In AWS App2Container
My experience with Fargate: I had a Node/Express microservice running in lambda using the lambda proxy integration to send and receive files from/to S3. I knew in advance that the 6MB request limit for lambda was going to hit us, but it was good enough for what we needed right then. When it came time, I knew I was going to have to convert to Fargate but I didn’t know anything about Docker or Fargate. It took less than a day for me to get the API up and running in Fargate following this tutorial. https://medium.com/@ariklevliber/aws-fargate-from-start-to-f... And automating it with Cloud Formation https://github.com/1Strategy/fargate-cloudformation-example To be fair, I did have experience with the other fiddly bits of AWS and CloudFormation so I knew how to modify the template to work in our own environment.
In How Far Out Is AWS Fargate?

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.