Skip to content

Example project for deploying a Swift application to AWS ECS/ECR via CircleCI 2.0

License

Notifications You must be signed in to change notification settings

iq3addLi/swift-ecs-ecr

Repository files navigation

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

CircleCI Swift 4.0

This is a "Hello World" Swift 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.

This project origin is here. Thanks CircleCI.

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
AWS_DEFAULT_REGION

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 Swift application to AWS ECS/ECR via CircleCI 2.0

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published