ecs-refarch-continuous-deployment
ecs-refarch-cloudformation
Our great sponsors
ecs-refarch-continuous-deployment | ecs-refarch-cloudformation | |
---|---|---|
1 | 5 | |
843 | 1,675 | |
0.0% | - | |
0.0 | 0.0 | |
over 1 year ago | 9 months ago | |
Shell | Makefile | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ecs-refarch-continuous-deployment
-
Docker Hosting
I'm mostly using just EC2 instances running Docker Engine and Docker Compose (with configs and Compose projects in Git), but I'm starting to use CloudFormation and ECS more. I've taken a lot of inspiration from https://github.com/aws-samples/aws-refarch-shibboleth, https://github.com/awslabs/ecs-refarch-continuous-deployment, and https://github.com/aws-samples/ecs-refarch-cloudformation. At some point in the future, I plan to refactor my CloudFormation/ECS deployments into something more cloud agnostic using Terraform/Kubernetes.
ecs-refarch-cloudformation
-
My Infrastructure as Code Rosetta Stone - Deploying the same web application on AWS ECS Fargate with CDK, Terraform and Pulumi
I first started out with IaC following this project aws-samples/ecs-refarch-cloudformation (which is pretty old at this point) and wrote a lot of CloudFormation by hand. The pain of doing that lead me to explore the CDK with Python. I learned TypeScript by rewriting the Python CDK code I wrote in TypeScript. I later worked with a team that was more experienced in Terraform and learned how to use that. I feel like Pulumi takes the best of the two tools and has a really great developer experience. There is a little bit of a learning curve with Pulumi, and you give up some of the simplicity of Terraform.
-
Daisy-chaining CloudFormation templates together
Yes, deploy them as nested stacks inside a parent template. You can reference outputs via !GetAtt NestedStackX.Outputs.OutputName. see this repo for an example https://github.com/aws-samples/ecs-refarch-cloudformation
-
My approach to building ad hoc developer environments using AWS ECS, Terraform and GitHub Actions (article link and diagram description in comments)
Sure. My IaC journey actually started out with CloudFormation, and I learned a lot from this reference project: aws-samples/ecs-refarch-cloudformation. Then I picked up CDK when that became available and migrated a project from CloudFormation to CDK. It sounded like a nicer way to handle stacks in a familiar language with lots great one-liners and utility functions and constructs, and it definitely is. I have a similar project written in CDK that is an application/framework-first (Django) approach to learning and doing IaC that you can find here: https://github.com/briancaffey/django-cdk. This implements both ECS and EKS, but my attempts at learning EKS sort of fizzled out for now as I don't have the need to use it, and for the task at hand (running a monolithic Django application on AWS) I think ECS makes a LOT more sense.
-
Docker Hosting
I'm mostly using just EC2 instances running Docker Engine and Docker Compose (with configs and Compose projects in Git), but I'm starting to use CloudFormation and ECS more. I've taken a lot of inspiration from https://github.com/aws-samples/aws-refarch-shibboleth, https://github.com/awslabs/ecs-refarch-continuous-deployment, and https://github.com/aws-samples/ecs-refarch-cloudformation. At some point in the future, I plan to refactor my CloudFormation/ECS deployments into something more cloud agnostic using Terraform/Kubernetes.
-
Best way to deploy docker compose to AWS ECS?
If you need more options that is provided the Docker/ECS tool listed above you can roll your own using CloudFormation (the AWS deployment scripting tool). There's a good starter here.
What are some alternatives?
aws-refarch-shibboleth - Containerized version of the Shibboleth IdP running on AWS with AWS Secrets Manager and AWS CodePipeline integrations. You can submit feedback & requests for changes by submitting issues in this repo or by making proposed changes & submitting a pull request.
django-step-by-step - A Django + Vue reference project that focuses on developer tooling and CI/CD + IaC
ecs-appmesh-config - Makes canary deployments simple. Use this CLI tool to deploy apps on AWS ECS App Service Mesh for smooth canary updates. It includes ready-to-use CD pipelines and a one-hit script to set up all needed AWS infrastructure and environment. A direct route to advanced ECS capabilities with effortless deployment of AWS AppMesh in your ECS.
factorio-spot-pricing - Factorio Deployment to AWS
projen - Rapidly build modern applications with advanced configuration management
ecs-deploy - Simple shell script for initiating blue-green deployments on Amazon EC2 Container Service (ECS)
pulumi-aws-django - A Pulumi package for deploying Django applications to AWS using ECS Fargate and other managed services
aws-stable-diffusion - How to run Stable Diffusion Automatic1111 WebUI on AWS EC2 instance
ssm-multi-tmux - Run an interactive command on EC2 instances using AWS SSM in synchronised tmux panes
aws-ec2-windows - Simple bash script to spin and terminate AWS EC2 instance