#CloudFormation
-Declarative way of outlining your AWS Infrastructure(as a code)
AWS 에서 사용할 클라우드 서비스를 코드로 정의 하여 템플릿을 만들수 있다.
ex
---
Resources:
MyInstance:
Type: AWS::EC2::Instance
Properties:
AvailabilityZone: us-east-1a
ImageId: ami-a4c7edb2
InstanceType: t2.micro
그 템플렛을 사용하면 바로 클라우드 서비스를 적절한 order 로 만들수 있다
또한 언제 EC2 인스턴스를 삭제 할건지도 정할수 있다.
View in Designer 를 통해 만들어질 클라우드 구조를 다이어그램으로 확인할수 있다.
전부 삭제시 EC2 인스턴스를 삭제하는 것이 아니라.
cloudformation 섹션으로 가서 삭제하면 된다.
즉 만들어진 cloudformation tamplate를 통해
다른 유저들을 일일이 설정할 필요가 없이 그냥 tamplate만 다운로드 하면 된다.
#Beanstalk
@Web App 3-tier
Users -(talk to) -> ELB(Elastic load balancer) -> Auto Scaling Group --- (store data) --- Amazon RDS
AWS Developer 가 고려해야 할 사항은
-Managing infrastructure
-Deploying Code
-Configuring all the database, load balancers
-Scailing concerns
-또 작성한 코드가 다른 Application 이나 환경에서 동작하길 원한다
그래서 나온게
AWS Elastic Beanstalk
-Developer centric view of deploying an application on AWS
Beanstalk 과 Cloudformation의 차이는?
Cloudformation (infrastructured focus): To deploy infrastructure as code
BeanStalk(application focus): code centric view ( Upload your code -> Beanstalk find a way to run that code)
'AWS_BASIC' 카테고리의 다른 글
# CodeDeploy, System Manager (SSM), OpsWorks (1) | 2020.12.21 |
---|---|
#4 ECS (0) | 2020.12.19 |
#3 Database - Various Amazon DB functions (0) | 2020.11.20 |
#3 Database (0) | 2020.11.19 |
#2 EBS VS EFS (0) | 2020.11.17 |
댓글