https://github.com/vukanac/cli-infra-deploy-aws-docker-fargate
https://github.com/vukanac/cli-infra-deploy-aws-docker-fargate
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vukanac/cli-infra-deploy-aws-docker-fargate
- Owner: vukanac
- Created: 2019-02-27T21:58:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-03T21:24:23.000Z (over 6 years ago)
- Last Synced: 2025-02-10T15:17:42.918Z (4 months ago)
- Language: Makefile
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Provision and Deploy from CLI to AWS
A simple provisioning infrastructure and deploying containerized application
on AWS Fargate (insead on EC2) directly from Command Line Interface (CLI)
in order to be step closer in automation of full delivery pipeline.## Requirements
* AWS CLI (`pip3 install aws-cli pip3 install awscli aws-shell --upgrade --user`)
* ECS CLI - Amazon Elastic Container CLI (`brew install amazon-ecs-cli`)Optional:
* make - (`brew install make`)
Instances:
* RDS
* Docker image with Apache and PHP application
* ECS ClusterConfiguration:
* policy.json - for IAM Role
* ecs-params.yml - a ECS configuration
* docker-compose.yml - define services (LAMP with logging with AWS specifics)## Steps
aws --version
aws-shell --version
ecs-cli --version
aws configure# Create DB
make db-createmake db-info
# Delete DB
make db-delete## AWS instances info
make info