Creating a service
A service is an implementation of a task definition, and runs tasks. To create a service, a cluster must be selected.
- Click on the
default
cluster link, as shown in the following screenshot:
- Select the
Services
tab and click onCreate
, as shownin the following screenshot:
- In
Configure service
, selectFARGATE
as theLaunch type
and select theTask definition
created earlier. - Select
LATEST
as thePlatform version
. The default cluster should be listed as selected, because we selected default to start with. - Specify a
Service name
(hello-world-service
) and setNumber of tasks
to3
, as shown in the following screenshot:
- Leaving the other settings as their defaults, click on
Next
step.