Skip to content

I was thinking of using CircleCI Orbs to deploy a simple Go Application to Amazon's Elastic Container Service for Kubernetes (Amazon EKS)

Notifications You must be signed in to change notification settings

daumie/circleci-ecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build, test, and deploy an app to AWS ECS

CircleCI

aws ec2 create-default-vpc
aws ec2 create-security-group --group-name circleci-demo-sg --description "Circle CI Demo Security Group"

Now create an ECS Cluster called circleci-demo-cluster and the ec2 instance that belongs to the ECS Cluster. Use the circleci-demo-sg security group that was created. You can get the id of the security group from the EC2 Console / Network & Security / Security Groups. It is important to select a Key pair so you can ssh into the instance later to verify things are working.

For the Networking VPC settings, I used the default VPC and all the Subnets associated with the account to keep this tutorial simple. For the IAM Role use ecsInstanceRole. If ecsInstanceRole does not yet exist, create it per AWS docs. All the my settings are provided in the screenshot. You will need to change the settings according to your own account and default VPC and Subnets.

Wait a few minutes and the confirm that the Container Instance has successfully registered to the circleci-demo-cluster ECS cluster. You can confirm it by clicking on the ECS Instances tab under Clusters / circleci-demo-cluster.

  1. Create a task definition that will be blueprint to start a Go Application

About

I was thinking of using CircleCI Orbs to deploy a simple Go Application to Amazon's Elastic Container Service for Kubernetes (Amazon EKS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages