ecs_composex
wordpress-demo
Our great sponsors
ecs_composex | wordpress-demo | |
---|---|---|
12 | 5 | |
148 | 0 | |
6.9% | - | |
8.8 | 0.0 | |
3 days ago | about 2 months ago | |
Python | ||
Mozilla Public 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_composex
-
Journey of creating a new AWS CloudFormation resource
If you have read my earlier posts or heard me talk with Corey on Screaming in the Cloud, I am the author of a tool called ECS Compose-X. It's designed to support all the docker compose features, and allow for extensions that make it easier to deploy to AWS.
- ecs_composex
-
How to take docker-compose to production?
Now, given you already have a docker-compose file, you could deploy to AWS in just a few minutes (assuming you have an account, and can pull the docker image from somewhere, like AWS ECR) with ECS Compose-X (GH|Docs). You can have a look at the wordpress demo on how to take your docker compose file as an input and let compose-x deal with everything (security, networking etc.) for you.
-
Running parallel builds in codebuild
Hope this might help https://github.com/compose-x/ecs_composex/blob/main/.cicd/buildspec_manifest.yml It does not use build-list but I got everything working in that way.
-
Creating Infrastructure at run time. Any advice?
In case you want to deploy infrastructure with some services running on ECS (planning on adding lambda to that mix though) and other AWS resources, i.e. Dyn tables, RDS etc., you could do something very nice using ECS Compose-X (GH) CFN Macro
-
Problems Communicating Between ECS Tasks
If you happen to have a docker-compose file locally that you used for dev testing, try ECS Compose-X (GH) which will parse that, render CFN templates and allow you to deploy the services in AWS ECS. If you have existing VPC and ECS Cluster, it can do discovery based on tags or just give it the subnets or cluster to use, as-is, it will take care of the rest (networking. IAM etc).
-
AWS Copilot and another 6 ways to easily deploy containers to AWS
docs and source code
-
How to use docker compose for dev "feature branch" environments
So, I created ECS Compose-X (docs) which covers 99% of our use-cases to date. The idea behind it was to allow developers to do exactly what you described: have one docker-compose.yaml file which describes the services, and use override files for each environments.
-
Four ways of writing infrastructure-as-code on AWS
I started using Troposphere when writing Compose-X because at the time CDK did not have Python support and once CDK had python support, the variable names for the resources properties were all changed from the original CFN definition.
-
How do you feel about AWS App Mesh and do you prefer EKS or just ECS with it?
ECS with AppMesh works like a charm. I will find you back my example app to show you, but I have created a project commonly called compose-x which would allow you to declare your services in docker compose format and declare your mesh nodes/routers/services as well and it will automatically create everything necessary for your services and the mesh
wordpress-demo
-
AWS Loadbalancer && || Nginx reverse proxy
You could probably near copy-paste the wordpress example to change your DNS Settings, certificates etc., adopt the DB as you need, into a docker extension file specifically for your AWS environment. It could create a new VPC and all for you, but given you already did that, you can simply get to plug and play into your existing VPC via Lookup.
-
How to use docker compose for dev "feature branch" environments
Hope this helps you in your journey to AWS. PS: Got a demo with wordpress which I use continuously you can find here.
-
How should I go about deploying local docker images into AWS?
Here is a GH repo with a wordpress demo that uses compose-x to deploy bitnami/wordpress using RDS, ALB and EFS. I deployed it adding ACM certificate to get HTTPS going, and works like a charm.
-
Use docker-compose files as AWS CloudFormation templates
The wordpress-demo has been updated to add EFS and volumes to show-case that new feature.
-
Tutorial or Video on Deploying my Docker Containers to AWS Fargate? (Experienced Developer but AWS Newb here)
Here is an example using wordpress (and the blog post going with it) which might given you a good reference.
What are some alternatives?
spring-petclinic-microservices - Distributed version of Spring Petclinic built with Spring Cloud
cloudformation-resource-providers - automatically maintained monorepo of all public CloudFormation AWS resource providers
awesome-cloudformation - A curated list of resources and projects for working with AWS CloudFormation.
flask-react-aws
aws-cloudformation-user-guide - The open source version of the AWS CloudFormation User Guide
aws-iam-generator - Generate Multi-Account IAM users/groups/roles/policies from a simple YAML configuration file and Jinja2 templates.
ecs-files-composer - A simple program / side-car service which only purpose is to pull files and inject it to docker volumes
sst - Build modern full-stack applications on AWS
awesome-ecs - A curated list of awesome ECS guides, development tools, and resources
troposphere - troposphere - Python library to create AWS CloudFormation descriptions
cfn-secret-provider - A CloudFormation custom resource provider for deploying secrets and keys