Skip to content

Example project for deploying a Go application to AWS ECS/ECR via CircleCI.

License

Notifications You must be signed in to change notification settings

adambyrtek/go-ecs-ecr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy to AWS ECS from ECR via CircleCI (Example Project)

This is a "Hello World" Go webapp that provides an example of how to build and test a Dockerized web application on CircleCI, push to an AWS EC2 Container Registry, and then deploy to an AWS EC2 Container Service cluster.

Prerequisites

This example utilizes AWS information that you wouldn't really want public. You'll need to configure a few CircleCI environment variables before the deploy script will work:

AWS_ACCOUNT_ID
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY

Additionally, an EC2 Container Service cluster and EC2 Container Registry must already be set up on AWS. See the EC2 Container Service Resources and ECS Container Registry Resources to get started. You will also need to update the cluster and task family names in deploy.sh to match your cluster.

About

Example project for deploying a Go application to AWS ECS/ECR via CircleCI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 75.1%
  • Go 24.9%