Saturday, July 21, 2018

ECS Cluster using cfn and AMI

I have worked tremendously on creating a CFN template
Why did i have to create a cfn template ? because i had to make sure that we can have the same deployment in multiple AWS regions within a reasonable time frame and the users do not have to go through all the issues i had to face.


Gotchas:
-----------
To have the ECS deployed using an AMI, a cluster needs to be created ahead.
We also need to make sure that the cluster has the ECS agent installed on it.


Make sure that the log group thats mentioned in the CFN is created ahead  and available.


Reference:
-------------
https://stackoverflow.com/questions/48919584/can-we-use-custom-ami-for-the-creation-of-ecs-cluster


Resources:
-------------
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html

AMI Identified in ECS:
------------------------------
https://github.com/aws-samples/aws-code-snippets/blob/master/CloudFormation/ECS.md


ECS Template:
-----------------
https://s3.amazonaws.com/amazon-ecs-cloudformation/Amazon_ECS_Quickstart.template



No comments:

Post a Comment

netstat

A copy from there - TCP Connection States 
 Following is a brief explanation of this handshake. In this context the "client" is ...