Amazon ECS Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


=Overview=
=Overview=
=Create a Task Definition=
Amazon ECS -> Task Definitions -> Create a New Task Definition -> FARGATE -> Next Step
Task Definition Name: playground-themyscira
Requires Compatibilities: FARGATE
Task Role: <font color=darkgray>Nothing, not enough permissions to create a new role.</font>


=Create a Cluster=
=Create a Cluster=
Line 49: Line 39:
* Amazon EC2 route
* Amazon EC2 route
* Virtual private gateway attachment
* Virtual private gateway attachment
=Create a Task Definition=
Amazon ECS -> Task Definitions -> Create a New Task Definition -> FARGATE -> Next Step
Task Definition Name: playground-themyscira
Requires Compatibilities: FARGATE
Task Role: <font color=darkgray>Nothing, not enough permissions to create a new role.</font>


=Create a Service=
=Create a Service=

Revision as of 04:17, 6 February 2019

External

Internal

Overview

Create a Cluster

Create a Cluster - Reference

Amazon ECS -> Clusters -> Create Cluster

Networking only (Fargate)

Cluster Name

Networking:

Create VPC

CIDR block 10.0.0.0/16

Subnet 1: 10.0.0.0/16

Delete Subnet 2.

It will create:

  • ECS cluster
  • CloudFormation Stack
  • VPC
  • Subnet 1
  • Subnet 1 route table association
  • VPC Availability Zones
  • Internet gateway
  • Route table
  • Amazon EC2 route
  • Virtual private gateway attachment

Create a Task Definition

Amazon ECS -> Task Definitions -> Create a New Task Definition -> FARGATE -> Next Step

Task Definition Name: playground-themyscira

Requires Compatibilities: FARGATE

Task Role: Nothing, not enough permissions to create a new role.

Create a Service

Must create at least a Task Definition first.

Clusters -> <Cluster Name> -> Services tab -> Create:

Launch Type: FARGATE

Task Definition: Family playground-