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

vennevan/go-ecs-ecr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE - THIS IS DEPRECATED - PLEASE USE CircleCI 2.0 for new projects

This repo is out of date. Please see this blog post for how to deploy to ECS from ECR on CircleCI 2.0: https://circleci.com/blog/aws-ecr-auth-support/


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

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

 
 
 

Languages

  • Shell 75.2%
  • Go 24.8%