aws sap 문제 풀이 7주차 문제풀이 2번

aws, sap, April 09, 2023

질문 15

A company is hosting its production environment on its on-premises servers. Most of the applications are packed as Docker containers that are manually run on self-managed virtual machines. The web servers are using the latest commercial Oracle Java SE suite which costs the company thousands of dollars in licensing costs. The MySQL databases are installed on separate servers configured on a “source-replica” setup for high availability. The company wants to migrate the whole environment to AWS Cloud to take advantage of its flexibility and agility, as well as use OpenJDK to save licensing costs without major changes in its applications.

Which of the following application migration strategies meet the above requirement?

  1. Re-platform the environment on the AWS Cloud platform by running the Docker containers on Amazon ECS. Test the new OpenJDK Docker containers and upload them on Amazon Elastic Container Registry. Migrate the MySQL database to Amazon RDS using AWS Database Migration Service.

Amazon ECS에서 Docker 컨테이너를 실행하여 AWS 클라우드 플랫폼에서 환경을 다시 플랫폼화합니다. 새로운 OpenJDK Docker 컨테이너를 테스트하고 Amazon Elastic Container Registry에 업로드합니다. AWS Database Migration Service를 사용하여 MySQL 데이터베이스를 Amazon RDS로 마이그레이션합니다.

  1. Re-platform the environment on the AWS Cloud platform by deploying the Docker containers on AWS App Runner to reduce operational overhead. Test the new OpenJDK Docker containers and upload them on Amazon Elastic Container Registry (ECR). Convert the MySQL database to Amazon DynamoDB using the AWS Schema Conversion Tool (AWS SCT) to save on costs.

운영 오버헤드를 줄이기 위해 AWS App Runner에 Docker 컨테이너를 배포하여 AWS 클라우드 플랫폼에서 환경을 다시 플랫폼화합니다. 새로운 OpenJDK Docker 컨테이너를 테스트하고 Amazon Elastic Container Registry(ECR)에 업로드합니다. AWS Schema Conversion Tool(AWS SCT)을 사용하여 MySQL 데이터베이스를 Amazon DynamoDB로 변환하여 비용을 절감하십시오.

  1. Re-factor/re-architect the environment on AWS Cloud by converting the Docker containers to run on AWS Lambda Functions. Convert the MySQL database to Amazon DynamoDB using the AWS Schema Conversion Tool (AWS SCT) to save on costs.

AWS Lambda Functions에서 실행되도록 Docker 컨테이너를 변환하여 AWS 클라우드에서 환경을 리팩터링/재설계합니다. AWS Schema Conversion Tool(AWS SCT)을 사용하여 MySQL 데이터베이스를 Amazon DynamoDB로 변환하여 비용을 절감하십시오.

  1. Re-host the environment on the AWS Cloud platform by creating EC2 instances that mirror the current web servers and database servers. Host the Docker instances on Amazon EC2 and test the new OpenJDK Docker containers on these instances. Create a dump of the on-premises MySQL databases and upload it to an Amazon S3 bucket. Launch a new Amazon EC2 instance with a MySQL database and import the data from Amazon S3.

현재 웹 서버와 데이터베이스 서버를 미러링하는 EC2 인스턴스를 생성하여 AWS 클라우드 플랫폼에서 환경을 다시 호스팅합니다. Amazon EC2에서 Docker 인스턴스를 호스팅하고 이러한 인스턴스에서 새로운 OpenJDK Docker 컨테이너를 테스트합니다. 온프레미스 MySQL 데이터베이스의 덤프를 생성하고 Amazon S3 버킷에 업로드합니다. MySQL 데이터베이스로 새 Amazon EC2 인스턴스를 시작하고 Amazon S3에서 데이터를 가져옵니다.

풀이 및 공부

2번

app runner?

dynamodb로 변경하는 것은 major change가 될듯

4번

simply re-hosting your applications by mirroring your current on-premises setup does not take advantage of the cloud’s elasticity and agility. A better approach is to use Amazon ECS to run the Docker containers and migrate the MySQL database to Amazon RDS

참고

Comments