简体   繁体   中英

AWS Cloudformation and ECS with docker app

Im looking for help because I failed to find any kind of solution to my problem. I am a beginner with the use of AWS and the documentation and examples are tooo way overheating my brain to get starting with something. I simply look at the docs and examples and can't do anything because there is so much things...
Basically what I need is to be able to deploy my containerized application to the EC2 and access it through the web. I would like to use a cloudformation template to deploy ECS and run my app on it but I really can't find a way how to write the template. Everything should be done from within the scripts aka programmatically.

The working solution would be: using https://github.com/Nordstrom/cfn to deploy the cloudformation template where it deploys my app and run it without using the AWS WEB UI. The biggest problem to me is the template. I simply can't understand the syntax and how to write it properly to deploy an app.

AWS have something called "reference architecture" for many of their products, including ECS.

https://github.com/aws-samples/ecs-refarch-cloudformation

It's a collection of CloudFormation templates that launch everything you need to have an ECS cluster working with a basic web service. This is an incredibly great starter for beginners as you can launch a Stack using their templates and gradually customize it for your needs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM