Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWSの「今」 - PHPのコードを素早く動かすための サービスのご紹介 / PHPCon2022 AWS Japan Session

AWSの「今」 - PHPのコードを素早く動かすための サービスのご紹介 / PHPCon2022 AWS Japan Session

PHP で書いたコードをいち早く世に送り出すために、 AWS では昨年から次々と新しいサービスをリリースしています。その中から、フルマネージドのコンテナ実行基盤 AWS App Runner と、自動でデータベースがスケールできる Amazon Aurora Serverless v2 をご紹介します。

Yuichiro SAITO

September 24, 2022
Tweet

More Decks by Yuichiro SAITO

Other Decks in Technology

Transcript

  1. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS PHP 2022/09/24 (@koemu)
  2. (@koemu) 20 2020 FinTech

  3. • AWS • AWS • AWS App Runner • Amazon

    Aurora Serverless v2 • • •
  4. IT

  5. z • • (RDBMS) • Writer • Reader

  6. AWS AWS App Runner • 1 • Amazon Aurora Serverless

    v2 • •
  7. AWS

  8. Amazon EC2 AWS Cloud VPC Availability Zone 1 Availability Zone

    2 Auto Scaling Group Auto Scaling Group Amazon EC2 Amazon Aurora AWS CodePipeline AWS CodeBuild AWS CodeDeploy OS Availability Zone
  9. AWS Cloud VPC Availability Zone 1 Availability Zone 2 Auto

    Scaling Group Auto Scaling Group AWS Fargate Amazon Aurora AWS CodePipeline AWS CodeBuild AWS CodeDeploy Amazon ECR OS
  10. AWS Cloud VPC Availability Zone 1 Availability Zone 2 Amazon

    Aurora Serverless v2 AWS CodePipeline AWS CodeBuild AWS CodeDeploy Amazon ECR AWS App Runner RDB
  11. AWS App Runner

  12. AWS サービスを組み合わせてインフラを構築 柔軟性が⾼い VPC (ネットワーク) Fargate (コンピュート) ECS (オーケストレーション) ALB

    (ロードバランサー) AWS Auto Scaling (オートスケール) CodeBuild (CI/CD) ⼿間がかかる
  13. AWS App Runner

  14. App Runner AWS API AWS

  15. AWS App Runner

  16. App Runner App Runner Amazon ECR Image Repo

  17. App Runner App Runner (VPC) App Runner Amazon ECR Image

    Repo
  18. App Runner (VPC) App Runner https://xxxxxxxx.<region>.awsapprunner.com

  19. AWS App Runner

  20. App Runner -

  21. (VPC) App Runner

  22. (VPC) App Runner

  23. AWS App Runner

  24. App Runner App Runner App Runner

  25. App Runner - Console

  26. App Runner - Console HTTP 2XX 4XX 5XX App Runner

  27. AWS App Runner https://docs.aws.amazon.com/apprunner/latest/dg/what-is-apprunner.html https://aws.amazon.com/jp/blogs/news/introducing-aws-app-runner/ https://aws.amazon.com/jp/blogs/news/new-for-app-runner-vpc-support/ https://www.apprunnerworkshop.com/ https://github.com/aws/apprunner-roadmap/projects/1 https://aws.amazon.com/jp/apprunner/pricing/

  28. Amazon Aurora Serverless v2

  29. Amazon Aurora Serverless v2

  30. Storage fleet Amazon Aurora Serverless v2

  31. Storage fleet Compute fleet Amazon Aurora Serverless v2

  32. Storage fleet Compute fleet ⾃動スケール ⾃動スケール Amazon Aurora Serverless v2

    • CPU 1 • https://aws.amazon.com/jp/blogs/news/amazon-aurora-serverless-v2-is- generally-available-instant-scaling-for-demanding-workloads/
  33. 0.5ACU 0.5 128ACU 0.5 “ACU” 1ACU=RAM 2GiB CPU

  34. Aurora Serverless v2 のシームレスなスケーリング Aurora Serverless v2 ( OLTP )

    同時実⾏数 が増加 同時実⾏数 が増加 同時実⾏数 が増加 処理終了 Aurora Serverless v2 ( ) ( CommitThroughput) ( )
  35. もっと Amazon Aurora Serverless v2 を知りたい⽅へ https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html https://aws.amazon.com/jp/blogs/news/amazon-aurora-serverless-v2-is-generally-available- instant-scaling-for-demanding-workloads/ https://www.youtube.com/watch?time_continue=350&v=b2Tl6SsWC-M&feature=emb_title

    https://aws.amazon.com/jp/rds/aurora/pricing/
  36. AWS App Runner • ( ) • • 25 Amazon

    Aurora Serverless v2 • MySQL 8.0, PostgreSQL 13 • Reserved Instance, Savings Plans (2022 9 )
  37. AWS Cloud VPC Amazon Aurora Serverless v2 AWS CodePipeline AWS

    CodeBuild AWS CodeDeploy Amazon ECR AWS App Runner AWS Fargate Amazon EventBridge RDB
  38. • Amazon App Runner • Amazon Aurora Serverless v2 RDBMS

    • AWS • AWS SA
  39. AWS AWS Japan • • • AWS OK

  40. AWS App Runner PHP ( node.js, Java(Amazon Corretto) Python )

    GitHub Issue 👍 https://github.com/aws/apprunner-roadmap/issues/31
  41. Thank you © 2021, Amazon Web Services, Inc. or its

    affiliates. All rights reserved.