How do you verify the competency for building, deploying and maintaining the infrastructure offered by the platform ?
With the certifications proposed by AWS !
Categorized in competencies, these exams reward counseling the right services, promote a well architected framework and check the knowledge of the candidate based on deep professional hands on experience.
Today, TeamWork and Corexpert have reach a milestone in the total number of certifications obtained : our team has 50 certifications. This commitment in the AWS cloud is a testimony of adaptation and capacity to answer at a large panel of requests from customers. Our experts are ready to be challenged by your interrogations and will guide you to success on AWS projects. Cost optimization, migration from on-premise, tasks automatization are some problematics (and many more !) which our team can help for your journey to the cloud.
We continue the serie “First steps with Amazon EC2 Container Service” focusing on the tasks and clusters that will host them.
1 – What is a Cluster
An ECS cluster is a group of EC2 instances that will host your containers
A cluster can contain one or more instances of different types and sizes. In our case, we will be using a t2.micro.
2 – ECS cluster creation
We are going to connect to the aws web console for ecs. We will go to the “Cluster” section on the left menu.On the next screen (Cluster list), we are going to click on “Create Cluster” so we can create our first cluster.
On creating cluster screen we have a very complete form with many options. We are going to use the following fields :
Cluster Name : helloworldCluster
Provisioning Model : On-Demand Instance
EC2 instance type : t2.micro
VPC : choose the VPC where you want to create your instances
Security group : choose/create a security group that opens port 80
Click the “Create” blue button to create the cluster.
It should now appear in the clusters list
3 – Task definition or how to define the containers launch
A task definition is a list of parameters which will determine how our containers will be launched of.
To create it, we will go to “Task definitions”on the left menu, then we will click the “Create new Task Definition” blue button.
This first task definition will allow us to launch a container, with its HTTP (80) port linked to the host instance’s port 8080.
For our case we are going to fill the following fields:
Docker is a technology that has been doing a huge echo in the IT field since the past few years.
All major public clouds (Amazon Web Service, Google Cloud, Microsoft Azure) offer a more or less integrated solution for container management. In these posts we will explain how to start successfully on the managed service Amazon EC2 Container Service.
This serie suppose that you already have created a VPC where the host instances for the docker containers will be created, that the AWS CLI is installed on your computer and we are going to use the “Hello-world” image (dockercloud/hello-world) available on the docker hub.
1 – Creation of a Docker private repository
To be deployed , a container image must be available in a docker repository. There is multiple solution that can be used , Amazon Web services (AWS) proposes a private managed repository (ECR) at an interesting price (0,1$/GB/month on 01/08/2017).