Learn about connecting traffic to container services.
- [Instructor] Now that we've take a look at what services are and how they can give a nice smooth release process to the things we're trying to do, lets go and just make a simple one. Starting on the clusters page, choose the cluster you'd like to host your service and hit create. We're going to make this a very simple service. We're going to take the data server task from our previous example and make a service that just keeps it running all the time. Lets call that service date service.
And it's not a very demanding task so I think we'll do just fine with a single instance. These options down here are used for extending your service in various ways. Load balancing is used to cause traffic to follow your service as it moves around your cluster and give things a consistent name. Auto scaling can be used to make your service grow and shrink according to demand. Both of these will be covered shortly. Lets go ahead and just make the service in its most basic form.
Okay we've created the service. Lets wait a minute while it starts. We see that it's pending. And now its running. Lets take a look, make sure it really works. Click on the task, scroll down, data server just like we did before. It still tells time.
- Adding Docker to EC2 instances
- Creating ECS instances and clusters
- Building tasks
- Creating tasks through the CLI
- Creating a service from a task
- Autoscaling services
- Deploying an ECS CloudFormation stack