SlideShare une entreprise Scribd logo
1  sur  37
세일즈부스트 인프라스트럭처 사례 공유
AWSKRUG 아키텍처 모임
발표자 소개
이수완
- (현) CTO - Salesboost, Inc.
- Salesboost: 이커머스를 위한 온라인 마케팅 솔루션
- CTO - ZOYI Corporation
- ChannelIO: 이커머스를 위한 고객 채팅 솔루션
- WalkInsights: 무선 신호를 이용한 오프라인 매장 분석 솔루션
프로필
- https://github.com/blaswan
- https://medium.com/@blaswan
- https://www.facebook.com/blaswan
WalkInsights
- 20 Servers in IDC
- Docker, Cloud Docker: API server, Socket server, psql, etc.
- Hadoop Cluster: Zookeeper, HBase, Hive, etc.
ChannelIO
- AWS: VPC, EC2, DynamoDB, RDS, etc.
- Docker, Cloud Docker (moved to ECS)
Infrastructure Experience
SB Infrastructure Goal
- AWS를 옳은 방식으로 사용하자
- AWS 아키텍처 모임, HBSmith 분들 자료 참고1), 2)
- AWS Accounts, IAM, VPC, etc.
- Serverless를 적극적으로 적용하자
1) https://www.slideshare.net/addnull/20180124-aws-7-86590677
2) https://www.slideshare.net/addnull/20170829-hb-smith-aws
SB Infrastructure Overview
AWS Resources
- Virtual Private Cloud, Subnets, Routing Tables
- IAM permissions, Security roles
- API Gateway, AWS Lambda
- ECS & Fargate
- DynamoDB
- CloudWatch
- Route53
- Cloudfront distributions
- Amazon S3 Buckets
- etc.
3 Environments
- local
- dev
- prod
2 Regions
- ap-northeast-2
- us-east-1
SB Infrastructure Diagram
- Terraform
- AWS Lambda
- ECS / Fargate
Outline
Introduction 내용은 빼고
어떻게 사용하고 있는지 위주로 설명
How We Deliver
- All APIs are running on AWS
- All cloud resources are provisioned through Terraform
- API’s delivered through API Gateway
- Microservice architecture with services written in Node.js, Python and Go
- Most services are delivered through AWS Lambda
- Some services are delivered through Docker containers running on ECS
- Batch jobs are running on Fargate
- Infrastructure as Code
- Cloud infrastructure provisioning
- Configuration files can be HCL or JSON
- Created by Hashicorp
- Open source, written in Go
Scope1)
- Terraform can provision infrastructure at other cloud providers as well as 3rd party services.
(ex. Google Cloud Platform, Azure, Heroku, etc)
- CloudFormation only supports AWS.
Readable code
- Terraform code is more readable, simpler and easier to understand than CloudFormation code.
- Terraform code is a quarter of the size2)
Terraform vs CloudFormation
1) https://cloudonaut.io/cloudformation-vs-terraform/
2) https://blog.agilebits.com/2018/01/25/terraforming-1password/
- S3 Bucket: State Storage
- DynamoDB Table: Lock Table
- IAM Role: for terraform
Terraform - Configuration for team
Assumed,
- Use multiple cloud providers
- Use multiple regions
- Environments? Modules?
Terraform - Folder structure
Terraform - Environments
One terraform workspace1) Per environment
- One AWS account Per environment
- One terraform project for all environments
이 방법은 간편하지만
Isolation의 관점에서는 부족한 부분이 있음
1) https://www.terraform.io/docs/state/workspaces.html
Terraform - Modules
Define terraform modules in a separate repository
- Access through versioned URL
- Improve Isolation
Terraform - CI/CD
Continuous Integration
- terraform validate1): Validate the syntax of terraform files
- tflint2): Detect errors that can not be detected by terraform plan
Continuous Deployment
- Run “terraform apply” in CircleCI on master branch
1) https://www.terraform.io/docs/commands/validate.html
2) https://github.com/wata727/tflint
Terraform - Workflow
1. Write a code
2. Commit & push
3. Create a Pull Request: Validating & Linting (CI)
4. Merge PR to branch ‘dev’: terraform apply to dev (CD)
5. Merge branch ‘dev’ to ‘master’: terraform apply to prod (CD)
Terraform - salesboostlabs/terraform-boostrap
앞에 설명한 내용이 적용되어 바로 시작해볼 수 있는 프로젝트
https://github.com/salesboostlabs/terraform-bootstrap
- general-lambda (Lambda function + Lambda permission + IAM role + IAM policy)
- alarmed-log (Cloudwatch log group + metric filter + metric alarm + sns)
- CDN (Cloudfront distribution + S3 + Route53)
- VPC
- etc.
자주 사용되는 AWS 리소스 구성을 모듈화해놓은 레포지토리
https://github.com/salesboostlabs/terraform-modules
Terraform - salesboostlabs/terraform-modules
AWS Lambda
(Limit을 충족하는) 모든 서비스는 Lambda로 배포
Lambda - Necessary Components
- Development
- How to run a lambda function on local machine?
- How to write a test case?
- CI: Building & Testing & Linting
- CD: Packaging & Deployment
- Configuration management
- Resource provisioning
- Logging & Monitoring
- etc.
Lambda - Frameworks
Serverless frameworks
- Serverless, Apex, SAM, etc.
- These tools help you develop, deploy and manage your AWS Lambda functions,
along with other resources they require.
We do not use frameworks for these reasons:
- Terraform으로 Lambda 관련 리소스를 포함해 다른 모든 리소스를 통합 관리
- Lambda가 아닌 다른 곳으로 마이그레이션을 쉽게 하기 위해 특정 프레임워크에 종속되고 싶지 않았음
Lambda - Boilerplates
SB boilerplates project for lambda
- Necessary components (local running, unit testing, linting, packaging, deployment, etc)
are already implemented and composed.
- 3 language supports: Python, TypeScript (Node.js), Go
Lambda - Workflow
Provisioning - in Terraform & Github
- Create a new repository.
- Copy an initial project from boilerplate project.
- Create all resources related to lambda function.
Redeployment - in CircleCI
- Merge PR to branch ‘dev’: Auto deployment to dev environment
- Merge branch ‘dev’ to ‘master’: Auto deployment to prod environment
1) https://medium.com/build-acl/aws-lambda-deployment-with-terraform-24d36cc86533
- Cold start problem
- Pricing
- Limit
- Performance
- etc.
Lambda - More Considerations
Lambda - Microservice architecture design
- Proper size?
- One endpoint? One resource? One team?
- Design Pattern?
- Orchestration, Event-driven, CQRS, etc.
- Domain-driven design
- Bounded context, High cohesion, Loose coupling, etc.
ECS
Lambda 제한을 벗어나는 Services, Batch jobs 는
Docker 컨테이너화해서 ECS로 배포
ECS - Components
- Cluster
- Grouping of EC2 instances, Resource pool
- Task Definition
- Define application containers: Image URL, CPU & Memory requirements, etc.
- Task
- Running instantiation of a task definition
- Service
- Layer that manages and places tasks
- Manage n copies of tasks
First deployment - in Terraform
- Create a Cluster and EC2 instances
- Create a ECR and Push docker image
- Create a Task Definition
- 1. Short-lived batch jobs: Run a new Task
- 2. Long-lived services: Create a service
Redeployment - CD in each repositories
- Create new revision of Task Definition
- Update a service
ECS - Workflow
ECS - Zero downtime deployment
https://blog.codeship.com/easy-blue-green-deployments-on-amazon-ec2-container-service/
ECS - Zero downtime deployment
https://blog.codeship.com/easy-blue-green-deployments-on-amazon-ec2-container-service/
ECS - Zero downtime deployment
https://blog.codeship.com/easy-blue-green-deployments-on-amazon-ec2-container-service/
ECS - Zero downtime deployment
https://blog.codeship.com/easy-blue-green-deployments-on-amazon-ec2-container-service/
ECS - Zero downtime deployment
1. 배포 전략에 따라 인스턴스의 수, Minimum healthy percent, Maximum percent, Task
Placement 등을 잘 지정해야 함
2. 만약 인스턴스 한 개에 동일한 여러 서비스를 띄우려면 Dynamic Port Mapping1)을 고려해야
함1) https://aws.amazon.com/premiumsupport/knowledge-center/dynamic-port-mapping-ecs/
- No instances to manage
- Resource based pricing
- Launched at re:Invent 2017
- Now only supported at Virginia
Fargate
When creating a cluster
When creating a task definition
Serverless!
No EC2 instances!!
Thank you

Contenu connexe

Tendances

AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...AWSKRUG - AWS한국사용자모임
 
AWS 101 - Amazon Web Services
AWS 101 - Amazon Web ServicesAWS 101 - Amazon Web Services
AWS 101 - Amazon Web ServicesEnmanuel Sosa G.
 
JAWS DAYS 2018 実践Microservices_Serverless
JAWS DAYS 2018 実践Microservices_ServerlessJAWS DAYS 2018 実践Microservices_Serverless
JAWS DAYS 2018 実践Microservices_Serverlessひろき こにし
 
Building a data warehouse with Amazon Redshift … and a quick look at Amazon ...
Building a data warehouse  with Amazon Redshift … and a quick look at Amazon ...Building a data warehouse  with Amazon Redshift … and a quick look at Amazon ...
Building a data warehouse with Amazon Redshift … and a quick look at Amazon ...Julien SIMON
 
從劍宗到氣宗 - 談AWS ECS與Serverless最佳實踐
從劍宗到氣宗  - 談AWS ECS與Serverless最佳實踐從劍宗到氣宗  - 談AWS ECS與Serverless最佳實踐
從劍宗到氣宗 - 談AWS ECS與Serverless最佳實踐Pahud Hsieh
 
Amazon ECS (December 2015)
Amazon ECS (December 2015)Amazon ECS (December 2015)
Amazon ECS (December 2015)Julien SIMON
 
Providing CI / CD as a Service - AWS Summit Sydney April 2015
Providing CI / CD as a Service - AWS Summit Sydney April 2015Providing CI / CD as a Service - AWS Summit Sydney April 2015
Providing CI / CD as a Service - AWS Summit Sydney April 2015Peter Leschev
 
IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021
IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021
IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021AWSKRUG - AWS한국사용자모임
 
AWS Summit Stockholm 2014 – B1 – Building a cloud ready it team
AWS Summit Stockholm 2014 – B1 – Building a cloud ready it teamAWS Summit Stockholm 2014 – B1 – Building a cloud ready it team
AWS Summit Stockholm 2014 – B1 – Building a cloud ready it teamAmazon Web Services
 
Running Docker clusters on AWS (June 2016)
Running Docker clusters on AWS (June 2016)Running Docker clusters on AWS (June 2016)
Running Docker clusters on AWS (June 2016)Julien SIMON
 
AWS CDK introduction
AWS CDK introductionAWS CDK introduction
AWS CDK introductionleo lapworth
 
Introduction to Batch Processing on AWS
Introduction to Batch Processing on AWSIntroduction to Batch Processing on AWS
Introduction to Batch Processing on AWSAmazon Web Services
 
Advanced Discussion on Cloud Formation
Advanced Discussion on Cloud FormationAdvanced Discussion on Cloud Formation
Advanced Discussion on Cloud FormationHenry Huang
 
Designing for elasticity on AWS - 9.11.2015
Designing for elasticity on AWS - 9.11.2015Designing for elasticity on AWS - 9.11.2015
Designing for elasticity on AWS - 9.11.2015Anton Babenko
 
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC...
 Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC... Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC...
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC...Julien SIMON
 
Building a Serverless Pipeline
Building a Serverless PipelineBuilding a Serverless Pipeline
Building a Serverless PipelineJulien SIMON
 
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020AWSKRUG - AWS한국사용자모임
 
This One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You ThousandsThis One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You ThousandsAmazon Web Services
 

Tendances (20)

AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
 
AWS 101 - Amazon Web Services
AWS 101 - Amazon Web ServicesAWS 101 - Amazon Web Services
AWS 101 - Amazon Web Services
 
JAWS DAYS 2018 実践Microservices_Serverless
JAWS DAYS 2018 実践Microservices_ServerlessJAWS DAYS 2018 実践Microservices_Serverless
JAWS DAYS 2018 実践Microservices_Serverless
 
Building a data warehouse with Amazon Redshift … and a quick look at Amazon ...
Building a data warehouse  with Amazon Redshift … and a quick look at Amazon ...Building a data warehouse  with Amazon Redshift … and a quick look at Amazon ...
Building a data warehouse with Amazon Redshift … and a quick look at Amazon ...
 
從劍宗到氣宗 - 談AWS ECS與Serverless最佳實踐
從劍宗到氣宗  - 談AWS ECS與Serverless最佳實踐從劍宗到氣宗  - 談AWS ECS與Serverless最佳實踐
從劍宗到氣宗 - 談AWS ECS與Serverless最佳實踐
 
Amazon ECS (December 2015)
Amazon ECS (December 2015)Amazon ECS (December 2015)
Amazon ECS (December 2015)
 
Providing CI / CD as a Service - AWS Summit Sydney April 2015
Providing CI / CD as a Service - AWS Summit Sydney April 2015Providing CI / CD as a Service - AWS Summit Sydney April 2015
Providing CI / CD as a Service - AWS Summit Sydney April 2015
 
IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021
IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021
IaC로 AWS인프라 관리하기 - 이진성 (AUSG) :: AWS Community Day Online 2021
 
AWS Summit Stockholm 2014 – B1 – Building a cloud ready it team
AWS Summit Stockholm 2014 – B1 – Building a cloud ready it teamAWS Summit Stockholm 2014 – B1 – Building a cloud ready it team
AWS Summit Stockholm 2014 – B1 – Building a cloud ready it team
 
Running Docker clusters on AWS (June 2016)
Running Docker clusters on AWS (June 2016)Running Docker clusters on AWS (June 2016)
Running Docker clusters on AWS (June 2016)
 
AWS CDK introduction
AWS CDK introductionAWS CDK introduction
AWS CDK introduction
 
Fin jaws 202103
Fin jaws 202103Fin jaws 202103
Fin jaws 202103
 
Serverless .NET on AWS
Serverless .NET on AWS Serverless .NET on AWS
Serverless .NET on AWS
 
Introduction to Batch Processing on AWS
Introduction to Batch Processing on AWSIntroduction to Batch Processing on AWS
Introduction to Batch Processing on AWS
 
Advanced Discussion on Cloud Formation
Advanced Discussion on Cloud FormationAdvanced Discussion on Cloud Formation
Advanced Discussion on Cloud Formation
 
Designing for elasticity on AWS - 9.11.2015
Designing for elasticity on AWS - 9.11.2015Designing for elasticity on AWS - 9.11.2015
Designing for elasticity on AWS - 9.11.2015
 
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC...
 Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC... Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC...
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC...
 
Building a Serverless Pipeline
Building a Serverless PipelineBuilding a Serverless Pipeline
Building a Serverless Pipeline
 
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
 
This One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You ThousandsThis One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You Thousands
 

Similaire à [AWSKRUG 아키텍처 모임] 세일즈부스트 인프라스트럭처 사례 공유

Flying Server-less on the Cloud with AWS Lambda
Flying Server-less on the Cloud with AWS LambdaFlying Server-less on the Cloud with AWS Lambda
Flying Server-less on the Cloud with AWS LambdaSerkan Özal
 
Webinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
Webinar: Serverless Architectures with AWS Lambda and MongoDB AtlasWebinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
Webinar: Serverless Architectures with AWS Lambda and MongoDB AtlasMongoDB
 
AWS re:Invent 2016: Workshop: AWS Professional Services Effective Architectin...
AWS re:Invent 2016: Workshop: AWS Professional Services Effective Architectin...AWS re:Invent 2016: Workshop: AWS Professional Services Effective Architectin...
AWS re:Invent 2016: Workshop: AWS Professional Services Effective Architectin...Amazon Web Services
 
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot InstancesWKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot InstancesAmazon Web Services
 
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)Amazon Web Services
 
The Future is Now: Leveraging the Cloud with Ruby
The Future is Now: Leveraging the Cloud with RubyThe Future is Now: Leveraging the Cloud with Ruby
The Future is Now: Leveraging the Cloud with RubyRobert Dempsey
 
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot InstancesWorkshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot InstancesAmazon Web Services
 
Serverless cecilia.cho
Serverless   cecilia.choServerless   cecilia.cho
Serverless cecilia.choCecilia Cho
 
AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)
AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)
AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)Amazon Web Services
 
A 60-minute tour of AWS Compute (November 2016)
A 60-minute tour of AWS Compute (November 2016)A 60-minute tour of AWS Compute (November 2016)
A 60-minute tour of AWS Compute (November 2016)Julien SIMON
 
Implementing FaaS on Kubernetes using Kubeless
Implementing FaaS on Kubernetes using KubelessImplementing FaaS on Kubernetes using Kubeless
Implementing FaaS on Kubernetes using KubelessAhmed Misbah
 
IDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet ServerlessIDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet ServerlessMassimo Ferre'
 
Concevoir une application scalable dans le Cloud
Concevoir une application scalable dans le CloudConcevoir une application scalable dans le Cloud
Concevoir une application scalable dans le CloudStéphanie Hertrich
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to KubernetesVishal Biyani
 
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)Amazon Web Services
 
Scheduled Retweets Using AWS Lambda
Scheduled Retweets Using AWS LambdaScheduled Retweets Using AWS Lambda
Scheduled Retweets Using AWS LambdaSrushith Repakula
 
IBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptx
IBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptxIBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptx
IBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptxGeorg Ember
 
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...Srini Karlekar
 

Similaire à [AWSKRUG 아키텍처 모임] 세일즈부스트 인프라스트럭처 사례 공유 (20)

Flying Server-less on the Cloud with AWS Lambda
Flying Server-less on the Cloud with AWS LambdaFlying Server-less on the Cloud with AWS Lambda
Flying Server-less on the Cloud with AWS Lambda
 
Webinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
Webinar: Serverless Architectures with AWS Lambda and MongoDB AtlasWebinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
Webinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
 
DevOps in Droplr
DevOps in DroplrDevOps in Droplr
DevOps in Droplr
 
AWS re:Invent 2016: Workshop: AWS Professional Services Effective Architectin...
AWS re:Invent 2016: Workshop: AWS Professional Services Effective Architectin...AWS re:Invent 2016: Workshop: AWS Professional Services Effective Architectin...
AWS re:Invent 2016: Workshop: AWS Professional Services Effective Architectin...
 
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot InstancesWKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
 
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)
AWS re:Invent 2016: Accenture Cloud Platform Serverless Journey (ARC202)
 
The Future is Now: Leveraging the Cloud with Ruby
The Future is Now: Leveraging the Cloud with RubyThe Future is Now: Leveraging the Cloud with Ruby
The Future is Now: Leveraging the Cloud with Ruby
 
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot InstancesWorkshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
Workshop; Deploy a Deep Learning Framework on Amazon ECS and Spot Instances
 
Serverless cecilia.cho
Serverless   cecilia.choServerless   cecilia.cho
Serverless cecilia.cho
 
AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)
AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)
AWS re:Invent 2016: Deploying Scalable SAP Hybris Clusters using Docker (CON312)
 
A 60-minute tour of AWS Compute (November 2016)
A 60-minute tour of AWS Compute (November 2016)A 60-minute tour of AWS Compute (November 2016)
A 60-minute tour of AWS Compute (November 2016)
 
Implementing FaaS on Kubernetes using Kubeless
Implementing FaaS on Kubernetes using KubelessImplementing FaaS on Kubernetes using Kubeless
Implementing FaaS on Kubernetes using Kubeless
 
IDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet ServerlessIDI 2020 - Containers Meet Serverless
IDI 2020 - Containers Meet Serverless
 
Concevoir une application scalable dans le Cloud
Concevoir une application scalable dans le CloudConcevoir une application scalable dans le Cloud
Concevoir une application scalable dans le Cloud
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
 
Auto Retweets Using AWS Lambda
Auto Retweets Using AWS LambdaAuto Retweets Using AWS Lambda
Auto Retweets Using AWS Lambda
 
Scheduled Retweets Using AWS Lambda
Scheduled Retweets Using AWS LambdaScheduled Retweets Using AWS Lambda
Scheduled Retweets Using AWS Lambda
 
IBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptx
IBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptxIBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptx
IBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptx
 
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
 

Dernier

Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyAnusha Are
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 

Dernier (20)

Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 

[AWSKRUG 아키텍처 모임] 세일즈부스트 인프라스트럭처 사례 공유

  • 1. 세일즈부스트 인프라스트럭처 사례 공유 AWSKRUG 아키텍처 모임
  • 2. 발표자 소개 이수완 - (현) CTO - Salesboost, Inc. - Salesboost: 이커머스를 위한 온라인 마케팅 솔루션 - CTO - ZOYI Corporation - ChannelIO: 이커머스를 위한 고객 채팅 솔루션 - WalkInsights: 무선 신호를 이용한 오프라인 매장 분석 솔루션 프로필 - https://github.com/blaswan - https://medium.com/@blaswan - https://www.facebook.com/blaswan
  • 3. WalkInsights - 20 Servers in IDC - Docker, Cloud Docker: API server, Socket server, psql, etc. - Hadoop Cluster: Zookeeper, HBase, Hive, etc. ChannelIO - AWS: VPC, EC2, DynamoDB, RDS, etc. - Docker, Cloud Docker (moved to ECS) Infrastructure Experience
  • 4. SB Infrastructure Goal - AWS를 옳은 방식으로 사용하자 - AWS 아키텍처 모임, HBSmith 분들 자료 참고1), 2) - AWS Accounts, IAM, VPC, etc. - Serverless를 적극적으로 적용하자 1) https://www.slideshare.net/addnull/20180124-aws-7-86590677 2) https://www.slideshare.net/addnull/20170829-hb-smith-aws
  • 5. SB Infrastructure Overview AWS Resources - Virtual Private Cloud, Subnets, Routing Tables - IAM permissions, Security roles - API Gateway, AWS Lambda - ECS & Fargate - DynamoDB - CloudWatch - Route53 - Cloudfront distributions - Amazon S3 Buckets - etc. 3 Environments - local - dev - prod 2 Regions - ap-northeast-2 - us-east-1
  • 7. - Terraform - AWS Lambda - ECS / Fargate Outline Introduction 내용은 빼고 어떻게 사용하고 있는지 위주로 설명
  • 8. How We Deliver - All APIs are running on AWS - All cloud resources are provisioned through Terraform - API’s delivered through API Gateway - Microservice architecture with services written in Node.js, Python and Go - Most services are delivered through AWS Lambda - Some services are delivered through Docker containers running on ECS - Batch jobs are running on Fargate
  • 9. - Infrastructure as Code - Cloud infrastructure provisioning - Configuration files can be HCL or JSON - Created by Hashicorp - Open source, written in Go
  • 10. Scope1) - Terraform can provision infrastructure at other cloud providers as well as 3rd party services. (ex. Google Cloud Platform, Azure, Heroku, etc) - CloudFormation only supports AWS. Readable code - Terraform code is more readable, simpler and easier to understand than CloudFormation code. - Terraform code is a quarter of the size2) Terraform vs CloudFormation 1) https://cloudonaut.io/cloudformation-vs-terraform/ 2) https://blog.agilebits.com/2018/01/25/terraforming-1password/
  • 11. - S3 Bucket: State Storage - DynamoDB Table: Lock Table - IAM Role: for terraform Terraform - Configuration for team
  • 12. Assumed, - Use multiple cloud providers - Use multiple regions - Environments? Modules? Terraform - Folder structure
  • 13. Terraform - Environments One terraform workspace1) Per environment - One AWS account Per environment - One terraform project for all environments 이 방법은 간편하지만 Isolation의 관점에서는 부족한 부분이 있음 1) https://www.terraform.io/docs/state/workspaces.html
  • 14. Terraform - Modules Define terraform modules in a separate repository - Access through versioned URL - Improve Isolation
  • 15. Terraform - CI/CD Continuous Integration - terraform validate1): Validate the syntax of terraform files - tflint2): Detect errors that can not be detected by terraform plan Continuous Deployment - Run “terraform apply” in CircleCI on master branch 1) https://www.terraform.io/docs/commands/validate.html 2) https://github.com/wata727/tflint
  • 16. Terraform - Workflow 1. Write a code 2. Commit & push 3. Create a Pull Request: Validating & Linting (CI) 4. Merge PR to branch ‘dev’: terraform apply to dev (CD) 5. Merge branch ‘dev’ to ‘master’: terraform apply to prod (CD)
  • 17. Terraform - salesboostlabs/terraform-boostrap 앞에 설명한 내용이 적용되어 바로 시작해볼 수 있는 프로젝트 https://github.com/salesboostlabs/terraform-bootstrap
  • 18. - general-lambda (Lambda function + Lambda permission + IAM role + IAM policy) - alarmed-log (Cloudwatch log group + metric filter + metric alarm + sns) - CDN (Cloudfront distribution + S3 + Route53) - VPC - etc. 자주 사용되는 AWS 리소스 구성을 모듈화해놓은 레포지토리 https://github.com/salesboostlabs/terraform-modules Terraform - salesboostlabs/terraform-modules
  • 19. AWS Lambda (Limit을 충족하는) 모든 서비스는 Lambda로 배포
  • 20. Lambda - Necessary Components - Development - How to run a lambda function on local machine? - How to write a test case? - CI: Building & Testing & Linting - CD: Packaging & Deployment - Configuration management - Resource provisioning - Logging & Monitoring - etc.
  • 21. Lambda - Frameworks Serverless frameworks - Serverless, Apex, SAM, etc. - These tools help you develop, deploy and manage your AWS Lambda functions, along with other resources they require. We do not use frameworks for these reasons: - Terraform으로 Lambda 관련 리소스를 포함해 다른 모든 리소스를 통합 관리 - Lambda가 아닌 다른 곳으로 마이그레이션을 쉽게 하기 위해 특정 프레임워크에 종속되고 싶지 않았음
  • 22. Lambda - Boilerplates SB boilerplates project for lambda - Necessary components (local running, unit testing, linting, packaging, deployment, etc) are already implemented and composed. - 3 language supports: Python, TypeScript (Node.js), Go
  • 23. Lambda - Workflow Provisioning - in Terraform & Github - Create a new repository. - Copy an initial project from boilerplate project. - Create all resources related to lambda function. Redeployment - in CircleCI - Merge PR to branch ‘dev’: Auto deployment to dev environment - Merge branch ‘dev’ to ‘master’: Auto deployment to prod environment 1) https://medium.com/build-acl/aws-lambda-deployment-with-terraform-24d36cc86533
  • 24. - Cold start problem - Pricing - Limit - Performance - etc. Lambda - More Considerations
  • 25. Lambda - Microservice architecture design - Proper size? - One endpoint? One resource? One team? - Design Pattern? - Orchestration, Event-driven, CQRS, etc. - Domain-driven design - Bounded context, High cohesion, Loose coupling, etc.
  • 26. ECS Lambda 제한을 벗어나는 Services, Batch jobs 는 Docker 컨테이너화해서 ECS로 배포
  • 27. ECS - Components - Cluster - Grouping of EC2 instances, Resource pool - Task Definition - Define application containers: Image URL, CPU & Memory requirements, etc. - Task - Running instantiation of a task definition - Service - Layer that manages and places tasks - Manage n copies of tasks
  • 28. First deployment - in Terraform - Create a Cluster and EC2 instances - Create a ECR and Push docker image - Create a Task Definition - 1. Short-lived batch jobs: Run a new Task - 2. Long-lived services: Create a service Redeployment - CD in each repositories - Create new revision of Task Definition - Update a service ECS - Workflow
  • 29. ECS - Zero downtime deployment https://blog.codeship.com/easy-blue-green-deployments-on-amazon-ec2-container-service/
  • 30. ECS - Zero downtime deployment https://blog.codeship.com/easy-blue-green-deployments-on-amazon-ec2-container-service/
  • 31. ECS - Zero downtime deployment https://blog.codeship.com/easy-blue-green-deployments-on-amazon-ec2-container-service/
  • 32. ECS - Zero downtime deployment https://blog.codeship.com/easy-blue-green-deployments-on-amazon-ec2-container-service/
  • 33. ECS - Zero downtime deployment 1. 배포 전략에 따라 인스턴스의 수, Minimum healthy percent, Maximum percent, Task Placement 등을 잘 지정해야 함 2. 만약 인스턴스 한 개에 동일한 여러 서비스를 띄우려면 Dynamic Port Mapping1)을 고려해야 함1) https://aws.amazon.com/premiumsupport/knowledge-center/dynamic-port-mapping-ecs/
  • 34. - No instances to manage - Resource based pricing - Launched at re:Invent 2017 - Now only supported at Virginia
  • 35. Fargate When creating a cluster When creating a task definition