Browsed by
Author: corexpert

First steps with Amazon EC2 Container Service (101) – Cluster & task

First steps with Amazon EC2 Container Service (101) – Cluster & task

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

Exemple d'un cluster ECS
ECS Cluster

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

ECS Cluster
ECS Cluster

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:

  • Task Definition Name : Helloworld-1
  • Container Definitions : click “add container”
    • Container name : Helloworld
    • Image : 123456789012.dkr.ecr.eu-west-1.amazonaws.com/helloworld:latest
    • Memory Limits (MB) : 128
    • Port mappings :
      • Host : 8080
      • Container : 80
      • protocol : tcp
    • Click the button “Add”

You can then click the blue “Create” button

ECS Task definition
ECS Task definition

Plenty of other options are available in the Container Definitions, to allow a precise definition of the needs of the containers (Mapping of volumes, link between containers …)

4 – Task execution

Now that we have created our host machine cluster and we have described how to launch the container, we can finally run it.

To do this, we will click on the “Cluster” menu and choose from the list our helloworldCluster cluster. We get to here:

ECS Cluster Hello world
ECS Cluster Hello world

Click on the “Task” tab and then on the “Run new Task” button
In the next screen we will choose all the elements we created previously

ECS run task
ECS run task

The task is created and ready to receive messages

ecs-task-run-ok

5 – Connection to the container

All that remains is to validate that the container respond our HTTP requests.

We will connect directly to the host instance on port 8080.
To find its IP, just click on the name of the task (in our case 67f6a5b4-4 …) to display the details.

In the container part click on the triangle next to the container name (helloworld) to display the details, the IP will be in the section “Network Bindings”

ECS host IP
ECS host IP

You can then go to your preferred browser, and enter the url of the container to display the page

ECS task result
ECS task result

Congratulations, you have ran your first container on Amazon EC2 Container Service.

In the next article we will see how to go further by creating a service based on the existing container image. Thus several containers will be launched and will be able to respond to your requests

TeamWork announces the acquisition of Corexpert, the french AWS pure player, to accelerate its growth in the Cloud Computing market in France and worldwide

TeamWork announces the acquisition of Corexpert, the french AWS pure player, to accelerate its growth in the Cloud Computing market in France and worldwide

Paris, September 25th, 2017 – TeamWork, specialized in consulting, integrating, outsourcing of SAP solutions and technology platforms, announces the acquisition of Corexpert, Amazon Web Services specialist and pure player. This unique complementarity allows TeamWork to strengthen its position in the cloud computing market in France and worldwide.

Amazon Web Services (AWS), a cloud computing pioneer, provides a wide range of services enabling all types of customers to accelerate the deployment of their infrastructures and business applications. It is also the only cloud computing provider meeting all performance and security requirements to be SAP-certified. Thus, project deployments are accelerated and customers benefit from agility and flexibility, so far reserved for the web industry.

Known as an expert in consulting, designing and building AWS Cloud infrastructures, Corexpert brings its expertise, experience and DevOps approach to TeamWork. Certified AWS Advanced Consulting Partner, Corexpert technical team develops, deploys and maintains in operational condition solutions for their customers, based on the most innovative managed services from Amazon Web Services, while continuously optimizing TCO.

TeamWork, a strategic partner in digital transformation, operates in four core businesses: Business Consulting, SAP Business Solutions, Technology Platforms and Data Analytics. Recognized by its clients for its expertise and experience, TeamWork supports both major international accounts and SMEs. TeamWork’s 15 international locations allow it to guarantee 24/7 technical and functional outsourcing support services and geographical proximity to its customers.

“Corexpert has allowed us to accelerate our deployment on the AWS Cloud and the Time to Market of Orinox’s SaaS Graphics Workstation (OCWS) offer. The synergy between TeamWork and Corexpert confirms their ability to support us in our client projects (large French and American energy companies) both internationally and with 24/7 support services” Maxime Fourreau, founder and CEO of Orinox.

The acquisition of Corexpert by TeamWork is part of a strategy to develop an AWS Cloud competence center to address emerging new needs, such as IoT, Big Data and Blockchain, which are growth levers for digital transformation. The collaboration with Corexpert, started several months ago, also enabled TeamWork to consolidate its position as an SAP integrator on the AWS platform.

« The acquisition of Corexpert by TeamWork Group was obvious for two main reasons : our development and partnership with Amazon Web Services, which started with SAP on HANA projects, and the values shared by our two structures. The perfect complementarity of our expertise will allow our customers to pursue or accelerate their digital transformation, in particular with the adoption of the AWS Cloud. » Philippe Rey-Gorrez, CEO of TeamWork Group

« Majority participation of TeamWork Group in the capital of Corexpert is a strong signal to all our local and international customers. Cloud computing projects are increasingly ambitious and require larger and multidisciplinary teams. Corexpert proves its technological and innovative value daily, and joining TeamWork will enable a faster and more structured development to meet a demanding market with intermediate-sized partners. » Alexis Daguès, Co-founder and CEO of Corexpert

TeamWork and Corexpert will discuss their partnership at the USF convention on 4 and 5 October at the Lille Grand Palais and during the Transformation Day on November 8 at the Salle de la Mutualité in Paris.
TeamWork and Corexpert will also be attending the AWS re:Invent in Las Vegas from November 27 to December 1st, 2017, bringing together more than 40,000 Amazon Web Services customers and partners.

About TeamWork

TeamWork, international group, founded in 1999 in Geneva, is an independent company involved in four core businesses: Business Consulting, SAP Business Solutions, Technology Platforms and Data Analytics. Recognized by its clients for its expertise and experience, TeamWork is a strategic partner in digital transformation, accompanying both major international accounts and SMEs. With more than 420 employees and 15 international locations (Switzerland, France, Vietnam, Singapore, China, India, Canada, United States), TeamWork stands out with its ability to guarantee 24/7 technical and functional outsourcing support services and geographical proximity to its customers. The competence, the taste for the challenge, the human values and the talent of its teams allow TeamWork to achieve linear growth and strong customer loyalty. For more information, visit www.teamwork.net

About Corexpert

Corexpert, a pure player of the AWS Cloud, was founded in 2006. Cloud Native company, its team of 20 collaborators consists of Developers, DevOps and Cloud Computing Architects. They have built their expertise on multiple customer success projects, in particular with the Amazon Web Services Cloud that Corexpert has been using since 2010.
AWS Partner since 2014, then Advanced Consulting Partner in January 2017, Corexpert assists its customers in the usage of Cloud computing with a constant support, and ensures the skill improvement of customer teams in the daily usage of AWS managed services. Actors of the transformation of IT organizations, Corexpert team develops the best AWS Cloud strategy with their customers, accompanies them in the adoption of DevOps, automates their cloud computing infrastructures and offers dynamic and proactive supervision.
www.corexpert.net

Press Contacts

COREXPERT
Alexis Daguès
a.dagues@corexpert.net
+33 (0) 6.67.45.38.35

TEAMWORK
Daphne Savoundiraradjane
daphne.savoundiraradjane@teamwork.net
+33 (0) 6.38.46.07.40

pdf-icon1

Download PDF source

First steps with Amazon EC2 Container Service (101) – ECR

First steps with Amazon EC2 Container Service (101) – ECR

Docker is a technology that has been doing a huge echo in the IT field since the past few years.

docker-vs-aws on google search
docker-vs-aws on google search

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).

To deploy our image on the ECR (Amazon EC2 Container Registry) we will start by pulling this image from the docker hub.

Now we have our image, we will push it on ECR
Then, we will connect to the AWS web console for ecs

1a – if you still haven’t use the service yet

You will find yourself on the “Get started” page, you just have to push the blue “get started“ button in the middle of the page.

On the next screen (Getting Started with Amazon EC2 Container Service), uncheck the box so the ECS demo (sample) will not be deployed

getstarted

1b – If you have already used ECS

You just have to go to “Repositories” then click on “Create Repository”

2 – On the next page

You will be able to give a name to your repository , helloworld on our case. Then you can click on “Next step” button

ecr-name

3 – The final page

It will give us all the information needed to use the created repository.

2 – Add an image to ECR

We are going to push our HelloWorld image to the repository. To do that we are going to connect on ECR from our machine (our repository is in ireland)

We get a commande line that will allow us to connect to ECR

Now we are connected, we are able the push our local image

If you connect on the AWS web console , you will be able to see our image in the repository

ecr-push

In the next post we are going to use this image to launch a docker container on ECS.

See you soon