Skip to content

Kelvinskell/ecs-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ecs-app

This project uses terraform to automate the deployment of a containerized application to Amazon Elastic Container Service (ECS).

This is a terraform project that automates the provisioning of all necessary infrastructure required - and automatically deploys a containerized python aplication to Amazon Elastic Container Service (AWS ECS).

How To Use

  • Clone the repository.
  • Switch into the cloned repository and cd into the terraform directory.
  • Run terraform init
  • Run terraform validate to validate the source code synatx.
  • Run terraform plan to view proposed infrastructure changes.
  • Run terraform apply -auto-approve to provision the infrastructure and deploy the application.

The DNS name of the application load balancer attached to the load balancer is printed out as terraform output once the apply is complete.

You can simply copy the DNS name and paste in your browser to access the application. Beware however that it takes about 5 to 8 minutes for the application to be fully deployed.

How To Contribute

Pull requests are welcome!

For major changes, please open an issue first to discuss what you would like to change. Please make sure to update the README.md file as appropriate.

Procedures

  1. Fork it!
  2. (Optional) Clone to your local repository: https://github.com/Kelvinskell/ecs-app.git or git@github.com:Kelvinskell/ecs-app.git
  3. Create your feature branch: git checkout -b new-feature
  4. Commit your changes: git commit -am 'add-some-new-feature
  5. Push to the branch: git push origin new-feature
  6. Submit a pull request

Guidelines

  1. include comments directly above the modified or added lines of code
  2. When writing comments, give a space between the hastag and your actual comments. e.g: # This is a comment
  3. Comments ideally should not have a fullstop . at the end
  4. Names for functions should start with a capital letter and should be meaningfully related to its intended action
  5. Finally, be sure to test your code before submitting changes

To learn more about this project and how you can manually achieve this outcome via the AWS Console, click Here.

About

This project uses terraform to automate the deployment of a containerized application to Amazon Elastic Container Service (ECS).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages