All Projects → Capgemini → Terraform Amazon Ecs

Capgemini / Terraform Amazon Ecs

Licence: mit
Terraform files for deploying and running Amazon ECS (+ Private Docker Registry)

Labels

Projects that are alternatives of or similar to Terraform Amazon Ecs

Terraform Kubernetes
Example of deploying a Kubernetes cluster to Google Cloud using Terraform
Stars: ✭ 152 (-11.11%)
Mutual labels:  hcl
Dcos Kubernetes Quickstart
Quickstart guide for Kubernetes on DC/OS
Stars: ✭ 161 (-5.85%)
Mutual labels:  hcl
Aws Incident Response
Stars: ✭ 167 (-2.34%)
Mutual labels:  hcl
Cka Practice Exercises
This is a guide for passing the CNCF Certified Kubernetes Administrator (CKA) with practice exercises. Good luck!
Stars: ✭ 151 (-11.7%)
Mutual labels:  hcl
Terraform Aws Kubernetes
Terraform module for Kubernetes setup on AWS
Stars: ✭ 159 (-7.02%)
Mutual labels:  hcl
Terraform Aws Cloudfront S3 Cdn
Terraform module to easily provision CloudFront CDN backed by an S3 origin
Stars: ✭ 162 (-5.26%)
Mutual labels:  hcl
Terraform Aws Eks
Terraform module to create an Elastic Kubernetes (EKS) cluster and associated worker instances on AWS
Stars: ✭ 2,464 (+1340.94%)
Mutual labels:  hcl
Terraform Aws Components
Opinionated, self-contained Terraform root modules that each solve one, specific problem
Stars: ✭ 168 (-1.75%)
Mutual labels:  hcl
Zeit Now
GitHub Action for interacting with Zeit Now
Stars: ✭ 160 (-6.43%)
Mutual labels:  hcl
Terraform Aws Autoscaling
Terraform module which creates Auto Scaling resources on AWS
Stars: ✭ 166 (-2.92%)
Mutual labels:  hcl
Terraform Aws Ssh Bastion Service
Terraform plan to deploy ssh bastion as a containerised, stateless service on AWS with IAM based authentication
Stars: ✭ 154 (-9.94%)
Mutual labels:  hcl
Apn Blog
APN Blog article code and configurations.
Stars: ✭ 156 (-8.77%)
Mutual labels:  hcl
Terraform Aws Rds Aurora
Terraform module which creates RDS Aurora resources on AWS
Stars: ✭ 165 (-3.51%)
Mutual labels:  hcl
Aws Labs
step by step guide for aws mini labs. Currently maintained on : https://github.com/Cloud-Yeti/aws-labs Youtube playlist for labs:
Stars: ✭ 153 (-10.53%)
Mutual labels:  hcl
C1m
Nomad, Terraform, and Packer configurations for the Million Container Challenge (C1M)
Stars: ✭ 167 (-2.34%)
Mutual labels:  hcl
Terraform Learn
A best practice baseline Terraform repository containing Terraform scripts with the ability to deploy both compute and networking infrastructure into AWS, Microsoft Azure and Google Cloud Platform.
Stars: ✭ 150 (-12.28%)
Mutual labels:  hcl
Terraform Kubernetes Installer
Terraform Installer for Kubernetes on Oracle Cloud Infrastructure
Stars: ✭ 162 (-5.26%)
Mutual labels:  hcl
Getting Started Terraform
Stars: ✭ 171 (+0%)
Mutual labels:  hcl
Terraform Aws Cloudtrail Cloudwatch Alarms
Terraform module for creating alarms for tracking important changes and occurrences from cloudtrail.
Stars: ✭ 170 (-0.58%)
Mutual labels:  hcl
Terraform Aws Openshift
Create infrastructure with Terraform and AWS, install OpenShift. Party!
Stars: ✭ 165 (-3.51%)
Mutual labels:  hcl

Terraform AWS ECS (+ Docker Registry)

Note - This is still a work in progress, so expect issues and bugs .. Feel free to jump in and start fixing things.

This repo contains a Terraform plan to run up an Amazon ECS cluster with a private Docker registry.

Inspired from http://blog.codeship.com/running-a-private-docker-registry-on-ec2/

Includes -

  • Private S3 bucket for container registry data
  • Docker container running allingeek/registry:2-s3 (by default)
  • ECS cluster, launch configuration and autoscaling group

### Prerequisites

### Usage

  1. Clone the repo
  2. Set some required variables -
export TF_VAR_key_name=name of ssh key
export TF_VAR_key_file=the ssh key file to use
export TF_VAR_aws_access_key=The AWS access key ID
export TF_VAR_aws_secret_key=The AWS secret key

Run the plan -

terraform apply

Alternatively the variables can be passed on the command line e.g. -

terraform apply -var 'key_name=name' -var 'key_file=path_to_file' -var 'aws_access_key=access_key' -var 'aws_secret_key=secret_key'

For a full list of overridable variables see variables.tf

### Known issues

If you are using terraform v0.6.3 and encounter this error -

* aws_ecs_service.s3-registry-elb: InvalidParameterException: Unable to assume role and validate the listeners configured on your load balancer.  Please verify the role being passed has the proper permissions.
  status code: 400, request id: []

This is probably down to this bug / issue with waits/timeouts - https://github.com/hashicorp/terraform/issues/2869.

You can either compile terraform from the latest master branch, or re-run the terraform apply again which should succeed the second time.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].