본문 바로가기

AWS24

Section 8_High Availability and Scalability: ELB & ASG -Scalability means that an application / system can handle greater loads by adapting. There are two kinds of scalability: • Vertical Scalability • Horizontal Scalability (= elasticity) Vertical Scalability - Increasing the size of the instance - Vertical scalability is common for non-distributed systems such as database - RDS, Elasticache are vertical scalability - Usually a limit to how much yo.. 2023. 9. 15.
Section 7 : Instance Storage EBS : An EBS (Elastic Block Store) Volume is a network drive you can attach to your instances while they run and allows data to persist even after their termination. - They can only be mounted to instance at a time and bound to a specific AZ (Free tier is 30gb) - It can be detached from an EC2 and attached to another one quickly - To move AZ you first need to snapshot it - Get billed for all the.. 2023. 8. 29.
Section 4 : IAM & AWS CLI IAM : Users & Groups - Users are people within your organization and can be grouped - Groups only contain users, not other groups - Users don’t have to belong to a group and user can belong to multiple groups IAM : Permissions - Users or groups can be assigned JSON documents called policies - These policies define the permissions of the users and you apply the least privilege principle : don’t g.. 2023. 7. 22.
Devops Day 77 (6.23) Final Project_Day 11~14 AWS 시스템 및 Terraform 코드 작성하면서 있었던 이슈 작성합니다. 가장 힘들고 문제있었던 점은 RDS 하고 ECS 하고 연결 하는 것 이 였습니다. 이슈 1. 1.1 RDS 생성은 하였으나 보안 그룹 설정이 올바르게 되었는지 확신이 없어 다른 팀원이 생성한 EKS RDS 정보를 AWS GUI에서 참고하며 terraform 코드를 수정하였습니다. 그러나 terraform 코드를 수정하는 도중에 너무 많은 수정을 해서 추가적인 오류가 발생하였습니다. EKS RDS는 EC2 보안 그룹을 추가하는 것이 정상적이지만 ECS에서는 이는 불필요하므로 잘못된 설정을 하고 있었습니다. 다른 팀원은 ingress/egress만 설정하고 추후에 설정을 완료하는 것을 추천하였습니다. 1.2 RDS는 생성하였으나 우.. 2023. 6. 28.
Devops Day 74 (6.20) Final Project_Day 8 ECS Terraform 구현 AWS GUI에서 먼저 구현하고 Terraform 구현하기로 했습니다. 1. AWS ECS 콘솔에 들어가 태스크 정의 생성 1.2 ECS 클러스터 생성전에 ECS VPC 생성 - IPv4 CIDR 10.0.0.0/16 로 설정 - Public subnet 2ea / private subnet 2ea - Nat gateway 없음 + VPC 엔드포인트 없음 1.3 보안 그룹 생성 (Security Group) - EC2 -> 보안 그룹 들어가 생성 - VPC는 final-project-ecs 선택 1.4 ECS 클러스터 생성 완료 후 서비스 생성 - 시작 유형 선택 - 배포 구성에서 서비스 선택 + 내용 기입 - VPC / subnet + 보안 그룹 선택 - 로드 밸런싱 (N.. 2023. 6. 22.
Devops Day 67 (6.12) Final Project_Day 1 프로젝트 개요 Achievement Goals - 실무와 가까운 클라우드 아키텍처를 구현할 수 있다. (팀) - 실무의 커뮤니케이션과 흡사하게 롤플레잉을 통해 의뢰인으로부터 자세한 요구사항을 이끌어낼 수 있다. (팀/개인) - 낯선 기술스택과 요구사항에 대해서 스스로 학습하여 적용할 수 있다. (개인) - 클라우드 아키텍처에 대한 그림을 그리고 설명할 수 있다. (팀) - 구현의 디테일에 대한 질문을 받을 때 답변할 수 있다. (개인) 칸반과 WIP 작업 항목 표현을 위해 카드들을 사용하고 각 프로세스 단계를 표현하기 위해 열을 사용하여 시각적으로 다양한 단계의 프로세스의 일을 시각적으로 표현하는 방식입니다. 카드는 왼쪽에서 오른쪽으로 움직여 진행 상황을 표현하고 작업을 수행하는 팀의 조율을 돕습니다. .. 2023. 6. 12.