JAWS UG Niigata プチキャッチアップ 2022 履歴
昨年の実施履歴: JAWS UG Niigata プチキャッチアップ 2021 履歴
次年の実施履歴: JAWS UG Niigata プチキャッチアップ 2023 履歴
2022#1 2022/1/6 (木) https://jawsug-niigata.connpass.com/event/234862/
雑談会
データ分析基盤の構築
サーバーレスパターンの「イベント駆動の業務処理連携」や「アプリケーションフロー処理」を使っている
LambdaやStep Functionsの上限を回避するためのテクニックを駆使
Lambdaの同時実行数
Lambdaのスケーリング
ステートマシンのイベント履歴
Glueより分業しやすく開発しやすいLambdaを使うケースが多い
デプロイ方法
Serverless Frameworkでデプロイ
Serverless FrameworkとTerraformを使ってデプロイ
Serverless Frameworkで足りない場合は、別途CloudFormationで定義してデプロイ
Ansibleでデプロイ
プロジェクトに応じて使い分けしている
マネジメントコンソールだと設定内容の証跡が取れないので、なるべくコード化する
Cfnの始め方
マネジメントコンソールでの設定内容と対比する形で、CLIやCfnでの設定方法を確認しながら少しずつ実行していく
Cfnデザイナーはあまり使わない
2022#2 2022/1/13 (木) https://jawsug-niigata.connpass.com/event/235766/
気になる記事など
AWSマネジメントコンソールのホーム画面が新しくなった
利用料などが表示されるようになった
ウィジェット追加やレイアウト変更などのカスタマイズができるようになった
Amplify Studio
【多分初心者向け】AWS Amplify Studio に触ってみて、とりあえず1からwebページを作ってみた | DevelopersIO
Figmaとの連携もできる
参考動画
https://www.youtube.com/watch?v=aue05Po7tH8&t=471s
JAWS-UG金沢のAmplifyハンズオン資料
https://zenn.dev/jawsug_kanazawa/books/line-smart-retail-handson-doc
CloudTrail Lake
https://dev.classmethod.jp/articles/aws-cloudtrail-lake-audit-security/
Genomics Workflows on AWS
https://docs.opendata.aws/genomics-workflows/index.html
2022#3 2022/01/20 (木) https://jawsug-niigata.connpass.com/event/236434/
初心者向けの学習方法とEKSの学習方法
AWS Hands-on for Beginners
https://aws.amazon.com/jp/blogs/news/aws-hands-on-for-beginners-01/
https://aws.amazon.com/jp/aws-jp-introduction/aws-jp-webinar-hands-on/
EKS Workshop
https://www.eksworkshop.com/
Qwiklabs
https://amazon.qwiklabs.com/
その他のJAWS-UGにも参加してみる (初心者支部など)
SAA参考書籍
https://www.amazon.co.jp/dp/4815607389/
試験範囲に出てくるサービスの概要を掴む
https://www.amazon.co.jp/dp/B07BMQL59H/
パターンを参考に、実際にAWSを触ってみる
https://aws.amazon.com/jp/aws-jp-introduction/aws-jp-webinar-service-cut/
各サービスの内容を深掘りする
気になる記事
AWS認定の模擬試験が無料
https://dev.classmethod.jp/articles/new-aws-official-practice-questions/
2022#4 2022/01/27 (木) https://jawsug-niigata.connpass.com/event/237154/
気になる記事
CDKでStep FunctionsのCI/CD環境構築
https://dev.classmethod.jp/articles/cicd-of-aws-step-functions-with-aws-cdk/
X2ieznインスタンスがローンチ
https://dev.classmethod.jp/articles/high-clock-cpu-memory-optimization-ec2-instance-x2iezn-available/
質問タイム
IAMユーザの名前を変えたい
CLIなら変更可能 (マネジメントコンソールからはできない模様)
https://docs.aws.amazon.com/cli/latest/reference/iam/update-user.html
code:bash
aws iam update-user --user-name hoge --new-user-name fuga #=> "hoge" to "fuga"
IAMユーザの権限はグループで設定した方がいい
グループにポリシー設定して、ユーザをグループに配置した方が管理しやすい
2022#5 2022/02/03 (木) https://jawsug-niigata.connpass.com/event/237907/
雑談タイム
ブロックチェーン
Amazon Managed Blockchain
https://aws.amazon.com/jp/managed-blockchain/
Bitcoin Hash Rate
https://www.blockchain.com/charts/hash-rate
Bitcoinはハッシュ計算する物量が他と違いすぎる
中に持つのであればブロックチェーン使う必要はないと思うけど、改竄対策でいろんなところに分散させておくのであればブロックチェーン使う利点はあると思う
CI/CD
データ分析/BI
Amazon QuickSight
ダッシュボードで分析結果を気軽に確認できる
いろんな技術を持った人が集まって、各々が構築した技術を流用してビジネスに繋げていくことができれば面白いかも
2022#6 2022/02/10 (木) https://jawsug-niigata.connpass.com/event/238685/
ネタ
FargateでBlueGreen Deploy中に ecs update コマンドで desired countを1つ減らしてみたところ、前バージョンで数が減った状態でデプロイとなってしまった。
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/update-service.html
BlueGreen Deploymentが完了した後なら問題ない。
気になる記事
App RunnerがVPCサポート
https://aws.amazon.com/jp/blogs/news/new-for-app-runner-vpc-support/
S3バッチレプリケーションで既存オブジェクトをレプリケート可能に
https://aws.amazon.com/jp/blogs/news/new-replicate-existing-objects-with-amazon-s3-batch-replication/
2022#7 2022/02/17 (木) https://jawsug-niigata.connpass.com/event/239482/
もくもく会
Nyantech2022ハンズオンを試す
猫の画像を使ってあそぶブラウザゲームを作ろう ! 〜AWS Cloud Development Kit (AWS CDK)で簡単デプロイ〜 - builders.flash☆ - 変化を求めるデベロッパーを応援するウェブマガジン | AWS
Cloud9上でcdk deployするだけでブラウザゲームが出来上がる
2022#8 2022/02/24 (木) https://jawsug-niigata.connpass.com/event/240106/
気になる記事
IP Address Manager
https://dev.classmethod.jp/articles/new-vpc-ip-address-manager/
Windows Server EC2の初回起動速度最適化オプション
https://dev.classmethod.jp/articles/windows-server-ec2-supports-fast-launch-images/
お悩み相談
EventBridgeのスケジュールをTerraformやCfnではなく、コード側で管理する良い方法はある?
良い方法はあまり思いつかない。CDK使うくらいか?
プライベートサブネットからインターネットアクセスして外部サービス使いたい場合はどうすれば良い?
NATゲートウェイをパブリックサブネットに設置し、NATゲートウェイ経由でインターネットアクセスが可能
2022#9 2022/03/03 (木) https://jawsug-niigata.connpass.com/event/240696/
気になる記事
AWS BackupのAmazon S3サポートがGA
https://dev.classmethod.jp/articles/update-aws-backup-support-amazon-s3/
Backup以外だとレプリケーションする方法があるね
2022/2/10の2020#6にて、S3バッチレプリケーションで既存オブジェクトをレプリケート可能になったね
IPv6オンリーのリソースからNAT64/DNS64を使ってIPv4のリソースに接続可能に
https://aws.amazon.com/jp/blogs/news/let-your-ipv6-only-workloads-connect-to-ipv4-services/
https://dev.classmethod.jp/articles/ipv6-subnet-ec2-nat64-dns64/
IPv6はこの本がよくまとまっている
https://www.geekpage.jp/blog/?id=2021-12-20-1
https://professionalipv6.booth.pm/items/3522871
GitHub Actions の OpenID Connect サポートについて
https://zenn.dev/miyajan/articles/github-actions-support-openid-connect
https://dev.classmethod.jp/articles/github-actions-oidc-configure-aws-credentials/
他
S3バケットの数のクォータがデフォルト100なので、気をつけておこう
https://docs.aws.amazon.com/ja_jp/general/latest/gr/s3.html
LambdaのソースとインフラはTerraformで管理した方がいい?
場合によるけど、インフラはTerraformでソースはTerraform以外で管理することが多い
インフラよりソースは頻繁にデプロイするので、リリースサイクルが異なるから
TerraformはLambdaの側だけ用意して、中身は別管理
2022#10 2022/03/10 (木) https://jawsug-niigata.connpass.com/event/241415/
気になる記事
DynamoDBのデフォルトクォータが上がった
https://aws.amazon.com/jp/about-aws/whats-new/2022/03/amazon-dynamodb-default-quotas-large-tables/
テーブル数が256 → 2500に
お悩み相談
NAT GatewayのHyperplaneの仕組みってどうなってるの?
この辺りを読むと良いかも
https://dev.classmethod.jp/articles/devio-connect-2020-chibayuki-vpc/
https://d1.awsstatic.com/events/jp/2018/summit/tokyo/aws/21.pdf
https://www.awsgeek.com/AWS-PrivateLink/
EFSとEBSでの性能差
基本的にEBSの方が早い
https://techblog.recochoku.jp/6015
EBSはGP2とGP3を比較すると、GP3がコスパがいい
https://blog.serverworks.co.jp/ebs-gp3-vs-gp2
EBSスナップショットのドキュメントの考慮事項
https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/ebs-creating-snapshot.html#ebs-create-snapshot-limitations
ルートデバイスとして機能する EBS ボリュームのスナップショットを作成する場合は、スナップショットを取る前にインスタンスを停止します。
と書いてある。インスタンス停止しなくてもスナップショットとれたけど、大丈夫なのか?
英語表記だとこんな感じなので、ルートデバイスのスナップショット取る際は「停止した方が安全」という認識でいいと思う
When you create a snapshot for an EBS volume that serves as a root device, you should stop the instance before taking the snapshot.
2022#11 2022/03/17 (木) https://jawsug-niigata.connpass.com/event/242113/
気になる記事
Amplify Studio
2022#2で紹介した記事
https://zenn.dev/jawsug_kanazawa/books/line-smart-retail-handson-doc/viewer/6-deploy-aws-backend
https://dev.classmethod.jp/articles/aws-amplify-studio-maybe-beginner/
スタートアップで0→1で作る分には良さそうだけど、そこからスケールする際にどうしたらいいのだろう?
UI部分は今のままだと剥がすの難しそう
選択を迫られそう
そのままAmplify Studioを使い続ける
Amplifyのコードを修正していく
UIそのままに作り直す
Systems ManagerパラメータストアとSecret Manager
どっち使ったらいいかな
パラメータストア使うケースが多いけど、Secret Managerは機能豊富だから要件に応じて使い分ければいいと思う
登録する時って平文で送ってる?
経路はHTTPSだから暗号化してあるけど、値の文字列自体はサーバ側で暗号化される
経路から保存されるまですでに暗号化しておく必要があるなら、送信前に事前にクライアント側で暗号化かけるしかないと思う
用途・要件に応じて、どこまで暗号化するのが良いか検討して使えば良いと思う
KMS
非対称暗号化キーってどんな時使うの?
よくわからない...。そんなケース扱ったことないので。
セキュリティのコンプライアンス要件などで、KMSではなくCloudHSMを使うケースもある
ただ、CloudHSMは費用お高め
GitHubのOICD試した
とても便利
https://zenn.dev/miyajan/articles/github-actions-support-openid-connect
MSK (Managed Streaming for Apache Kafka)とKinesisの違いは?
https://d1.awsstatic.com/webinars/jp/pdf/services/20191120_AWS-BlackBelt_AmazonMSK.pdf
このBlack Belt資料の62ページ目に比較が載ってる
Kafkaはクラスタをプロビジョニングするが、Kinesisはスループットをプロビジョニングする
Kafkaのサンプルってある?
https://kafka.apache.org/quickstart
この辺が良さそう
Kinesisだと、こんなハンズオン資料がある
https://github.com/aws-samples/amazon-s3-datalake-handson/blob/master/JP/README.md
Redshift / Redshift Spectrum / Athena の違いは?
Redshift: クラスタをプロビジョニング / Redshiftクラスタ管理のストレージにあるデータに対してクエリ実行
Redshift Spectrum: クラスタをプロビジョニング / S3バケットにあるデータに対してクエリ実行
Athena: サーバーレス / S3バケットにあるデータに対してクエリ実行
Redshift Serverless: サーバーレス / Redshift Serverless管理のストレージにあるデータに対してクエリ実行
S3バケットやAurora/RDSなどの外部ストレージへのアクセスも可能
2022#12 2022/03/24 (木) https://jawsug-niigata.connpass.com/event/242718/
気になる記事
AWS Billing Conductor
https://aws.amazon.com/jp/about-aws/whats-new/2022/03/aws-announces-aws-billing-conductor/
Organization上の複数アカウントの請求をグルーピング化できる模様
Amazon ECS UpdateService API がロードバランサー、サービスレジストリ、タグのプロパゲート、および ECS 管理タグの更新のサポートを開始
https://aws.amazon.com/jp/about-aws/whats-new/2022/03/amazon-ecs-service-api-updating-elastic-load-balancers-service-registries-tag-propagation-ecs-managed-tags/
他のお話
Fargateのコンテナ上でCLIを導入したいけど、容量大きいからなんとかして小さくしたい
GoやRustのSDKで必要な機能を実装して使ってみる?
SDK for Go v2: https://github.com/aws/aws-sdk-go-v2
SDK for Rust (Developer Preview): https://github.com/awslabs/aws-sdk-rust
最近Step Functionsをまた触り始めた
色々制約あるけど、データ整形用の基盤を構築中
https://speakerdeck.com/kasacchiful/jawsug-niigata-11
デプロイの管理は?
Serverless Frameworkで実施。Serverless FrameworkのプラグインでStep Functions使えるので、serverless.ymlでステートマシン定義している
https://dev.classmethod.jp/articles/tutorial-aws-step-functions-using-serverless-framework/
2022#13 2022/03/31 (木) https://jawsug-niigata.connpass.com/event/243346/
気になる記事
AWS Organizationsでメンバーアカウントを簡単に削除
https://dev.classmethod.jp/articles/close-aws-member-accounts-with-closeaccount-api/
注意事項にある 30日の期間内に削除可能なメンバーアカウントの数は10%までです。は例えばアカウント3つある場合どうなるか試してみた
1アカウント削除できたが、もう1アカウント削除しようとしたらエラーになった。30日待たないと削除できない。
Lambdaのストレージ容量が最大10GBまで拡張可能
https://dev.classmethod.jp/articles/aws-lambda-10gb-storage/
/tmpの容量が増やせます。
料金はデフォルトの512MBの場合はそのまま。デフォルトサイズから追加拡張をする場合に追加分の料金がかかる。
Lambdaがより使いやすくなった印象。
2022#14 2022/04/07 (木) https://jawsug-niigata.connpass.com/event/244089/
気になる記事
Lambda Function URLsが追加
https://dev.classmethod.jp/articles/try-aws-lambda-function-urls/
https://dev.classmethod.jp/articles/aws-lambda-function-urls-built-in-https-endpoints/
EC2で、作成から2年経過したパブリックAMIの可視性が低下
https://aws.amazon.com/jp/about-aws/whats-new/2022/03/amazon-machine-images-public-visibility-two-years/
マネジメントコンソールの各種設定をデバイスやブラウザ間で共有
https://dev.classmethod.jp/articles/unified-settings-aws-management-console/
最近IAMのページ開いてから、別ページに遷移すると「バージニア北部」になるので、これ設定すると直る?
試しにやってみたところ、1回目は「バージニア北部」になってしまったが、2回目からは設定した「東京」になった。(この設定が影響したのか不明...)
雑談
VPC Peering、意外と設定簡単だった
クロスアカウントでも、SGは アカウントID/SG IDで行けた
https://dev.classmethod.jp/articles/reference-sg-over-cross-account-peering/
Lambda関数の同時実行予約数 (Reserved Concurrency) って何?
https://docs.aws.amazon.com/ja_jp/lambda/latest/dg/configuration-concurrency.html
ある関数での同時実行数を保証する設定みたい
2022#15 2022/04/14 (木) https://jawsug-niigata.connpass.com/event/244749/
お悩み相談
データの可視化について
QuickSightとかあるけど、どんなケースで使い分ければ良い?
QuickSight: ある程度データが溜まった状態で、使うと良さそう
Opensearch: ニアリアルタイムで、ダッシュボードで表示したい場合、使うと良さそう
QuickSightってS3のデータ可視化できる?
できる。直接参照もできるが、Athenaを経由することが多い。
QuickSightの参考ページ
https://aws.amazon.com/jp/builders-flash/202108/awsgeek-quicksight/
https://aws.amazon.com/jp/quicksight/pricing/
https://pages.awscloud.com/rs/112-TZM-766/images/%5Bイントロ%5DAmazonQuickSightノウハウ総まとめセミナー_1014.pdf
QuickSight Q: 自然言語表現で問い合わせ
https://aws.amazon.com/jp/blogs/news/amazon-quicksight-q-business-intelligence-using-natural-language-questions/
ML Insights: 異常検知などが可能
https://dev.classmethod.jp/articles/amazon-quicksight-announces-general-availability-of-ml-insights/
今度JAWS-UG新潟やるなら、ハンズオンやってほしい
あまり触ったことのないサービスなど
IoT
Amplify
Container
ストリーミングデータの解析
etc.
検討します
2022#16 2022/04/21 (木) https://jawsug-niigata.connpass.com/event/245451/
お悩み相談
EC2使うこと多いですが、SSHで繋げることは普通?
最近はSystems Managerのセッションマネージャー使う
セッションマネージャーのポートフォワーディングでSSHもRDPもできるし、EC2を踏み台にしてその先のDBへの接続も可能
https://dev.classmethod.jp/articles/try-port-forwarding-with-ssm/
Windowsインスタンスへ接続する場合は、Systems ManagerのFleet Manager使うケースもある
https://dev.classmethod.jp/articles/rdp-connection-to-windows-instances-from-aws-systems-manager-fleet-manager-is-now-available/
Lambdaのコンテナ、めっちゃ便利
fargateで動かしてたコンテナイメージ、マルチステージビルド使うと意外と簡単にLambdaで使えた
CLIでupdate function すると、すぐに実行できない。
関数の更新を待たないと、invokeできないみたいV
実行可能になるまでwaitすれば解決
code:bash
aws lambda update-function-code
aws lambda wait function-updated
aws lambda invoke
https://zenn.dev/yoshi65/articles/lambda-using-ecr
VPC PeeringでPing疎通うまくいかない
その場で画面見ながら検討
ルートテーブルとセキュリティグループを確認
Ping先のEC2のセキュリティグループに、Ping元EC2セキュリティグループのICMPを許可していなかったので、それを設定して解決。
Account ID / Ping元EC2セキュリティグループID
https://dev.classmethod.jp/articles/reference-sg-over-cross-account-peering/
Simple ADを認証プロバイダとして、マネジメントコンソールにログインしたい
この辺の記事を参考にすると良さそう
https://aws.amazon.com/jp/blogs/startup/techblog-iam-sso-practice/
AWS SSO + Azure ADなら実現可能
2022#17 2022/04/28 (木) https://jawsug-niigata.connpass.com/event/246077/
気になる記事
Aurora Serverless v2 が GA
https://aws.amazon.com/jp/blogs/aws/amazon-aurora-serverless-v2-is-generally-available-instant-scaling-for-demanding-workloads/
Athenaで新しいデータソースコネクタがGA
BigQueryやSnowflakeに接続できる
https://aws.amazon.com/jp/about-aws/whats-new/2022/04/new-data-source-connectors-generally-available-amazon-athena/
https://dev.classmethod.jp/articles/20220423-amazon-athena-connect-to-bigquery/
Amplify StudioがGA
https://aws.amazon.com/jp/blogs/aws/announcing-the-general-availability-of-aws-amplify-studio/
https://www.publickey1.jp/blog/22/awsamplify_studiofigma.html
Amplify Geo for AndroidがGA
https://aws.amazon.com/jp/about-aws/whats-new/2022/04/general-availability-amplify-geo-android/
SageMaker Serverless InferenceがGA
https://aws.amazon.com/jp/blogs/aws/amazon-sagemaker-serverless-inference-machine-learning-inference-without-worrying-about-servers/
他
AWS SSOでシングルサインオン試してみた
マネコンログイン
AWS Client VPN接続
結構簡単にできた
2022#18 2022/05/05 (木) https://jawsug-niigata.connpass.com/event/246783/
人が集まるまでもくもく (約15分)
Glue Studioを調べてた
気になる記事
ECSでEC2 Auto Scaling向けウォームプールのサポート開始
https://aws.amazon.com/jp/about-aws/whats-new/2022/03/amazon-ecs-supports-warm-pools-amazon-ec2-auto-scaling/
Lambda Function URLs
https://dev.classmethod.jp/articles/aws-lambda-function-urls-built-in-https-endpoints/
お悩み相談
リレーショナルデータベースで参考となる書籍は?
例えばこれ。古いけどRDB設計の参考になる。
https://www.amazon.co.jp/dp/4797333324
データ分析基盤まで検討するのであれば、この薄い本が参考になる。
https://dev.classmethod.jp/articles/bookreview-aws-no-usui-hon-vol-3/
2022#19 2022/05/12 (木) https://jawsug-niigata.connpass.com/event/247285/
気になる記事
Cloudflareいろいろサービス出してきたね
https://dev.classmethod.jp/articles/cloudflare-pages-new-features/
https://dev.classmethod.jp/articles/announcing-sql-database-d1-for-use-in-cloudflare-edge-environments/
エッジで動くSQLiteって用途色々ありそう
https://www.publickey1.jp/blog/22/cloudflareamazon_s3cloudflare_r210gb.html
S3互換オブジェクトストレージも面白そう
OCIでもOpenSearch使えるみたい
https://docs.oracle.com/ja/solutions/oci-opensearch-log-analytics/index.html#GUID-9A3E3E7A-C899-4D43-8DA0-4BA7FA3E44ED
ネタ: 「AWS公式サイト風」カップ麺紹介ページ
https://www.itmedia.co.jp/news/articles/2205/10/news123.html
お悩み相談
CloudFront使わずに、S3単独でGzip配信できる?
各オブジェクトのメタデータに「Content-Encoding: gzip」を仕込めばいけそうだけど、オブジェクト毎に設定しなければならないみたいだから面倒そう。
普通にCloudFront使った方が幸せになりそう
Athenaってユーザが使う検索機能とかに使えるの?
「StartExecutionQuery」等のクォータがデフォルト20とそこまで多くできないから、同時実行でクエリ叩くような用途には不向き
管理側からデータの分析機能として使う方が相性がいい
Athenaのパーティション構造について
https://docs.aws.amazon.com/ja_jp/athena/latest/ug/partitions.html
Apache Hive形式でパスを構成
alter table add partitionでパーティション定義
パーティション射影で定義
S3 Selectとの違いは?
https://dev.classmethod.jp/articles/s3-select-with-console/#toc-9
S3 Select では、SQL 式を使用して 1 つの CSV、JSON、または Parquet ファイルからレコードを抽出できます。S3 Select では GZIP および BZIP2 圧縮ファイルおよびサーバー側の暗号化ファイルがサポートされます。コンソールを使用して、最大 128 MB のソースファイルから最大 40 MB のレコードを抽出できます。より大きなファイルまたはより多くのレコードを操作するには、API を使用します。
規模が小さい場合はS3 Select、中規模であればAthena、エクサクラスのデータサイズであればRedshift Spectrumあたりを使うと良さそう
2022#20 2022/05/19 (木) https://jawsug-niigata.connpass.com/event/248072/
気になる記事
QuickSight 1-click public embedding が GA
https://twitter.com/simosako/status/1527085010490052608
https://aws.amazon.com/jp/blogs/big-data/amazon-quicksight-1-click-public-embedding/
Resilience Hub が気になる
https://dev.classmethod.jp/articles/aws-resilience-hub/
https://dev.classmethod.jp/articles/did-test-aws-resilience-hub/
他
IPv6やAurora Serverless v2など気になるけど、追えてない感じ
IPv6は、あまり意識しなくてもまだ大丈夫な気がする
Aurora Serverless v2は、いろいろなユースケースで使われている印象
https://dev.classmethod.jp/articles/intro-to-amazon-aurora-serverless-v2-in-1-mins/
https://dev.classmethod.jp/articles/devio-aurora-serverless-v2/
2022#21 2022/05/26 (木) https://jawsug-niigata.connpass.com/event/248759/
AWS Summit Online
気になるセッション
Design for Resilience - 如何にしてクラウドアプリケーションの耐久力を高めるか(SP-04)
NTTドコモが挑んだデータ基盤のモダナイゼーション 〜システムが足枷にならない意識改革と基盤〜(CUS-01)
他
AWSを学ぶ上で、S3とかのよく使うサービス中心に学んだ方がいい?それとも全サービス満遍なく学んだ方がいい?
S3などのコアなサービスを学んだ上で、興味のあるサービス、気になるサービスを中心に深掘りしていくといい。
Web開発 / データ分析 / 機械学習 / ネットワーク / etc.
全部のサービスを網羅するのは大変だし辛い
2022#22 2022/06/02 (木) https://jawsug-niigata.connpass.com/event/249480/
自己紹介
AWS Summit Online
Lv400 AWS Lambda Performance Tuning Deep Dive
IaC
何がいいか
個人的にはterraform
公式見てただけるとだいぶわかりやすい
Amazon S3 による効果的なデータ保存・保護方法(AWS-57)
S3 Glacier Instant Retrieval
ミリ秒レベルの取り出し時間で最低コストのストレージを提供
S3 Glacier Flexible Retrieval
従来のS3 Glacier
2022#23 2022/06/09 (木) https://jawsug-niigata.connpass.com/event/250235/
気になる記事
Amazon Route 53 が DNS クエリの IP ベースのルーティングを発表
https://aws.amazon.com/jp/about-aws/whats-new/2022/06/amazon-route-53-ip-based-routing-dns-queries/
https://dev.classmethod.jp/articles/amazon-route-53-now-supports-routing-based-on-source-ip/
EMR Serverless が GA
https://aws.amazon.com/jp/about-aws/whats-new/2022/06/amazon-emr-serverless-generally-available/
https://dev.classmethod.jp/articles/amazon-emr-serverless-ga/
その他
AWS CLIのqueryが便利
JMESPath記法なので、代わりに慣れてるjq使うことが多い
JMESPathとjqは似てる
https://www.techscore.com/blog/2019/09/30/jq-と-jmespath-を同時に覚える/
Auroraのバージョンアップって定期的にしてる?
古いバージョンはサポート切れしてしまうので、バージョンあげないといけない
https://aws.amazon.com/jp/blogs/news/amazon-aurora-postgresql-10-retirement/
オンプレ時代は、ハードのリース切れの際にDBバージョンアップしてデータ移行してた
クラウドだと、定期的にバージョンアップをタイミングみて実施してることが多い
AWSのマネージドサービスだから、バージョンアップ時のアプリ不具合がないかテストで確認できれば、DBバージョンアップしちゃうケース多いかも
2022#24 2022/06/16 (木) https://jawsug-niigata.connpass.com/event/250995/
気になる記事
Elastic Disaster Recoveryが大阪リージョンで利用可能
https://aws.amazon.com/jp/blogs/news/aws-elastic-disaster-recovery-osaka/
その他
Protonの中で、CodeStar使われているっぽい?
CodeStart connection が必要みたい。
https://docs.aws.amazon.com/proton/latest/adminguide/getting-started-prerequisites.html
独自テンプレート用意する際には、Code兄弟に関する記述はなさそうだから、Proton内部で使われているような気がする
https://dev.classmethod.jp/articles/aws-proton-custom-proton-template/
Resilience Hub使うとどういう利点があるのか、あまりイメージ湧かない
https://aws.amazon.com/jp/blogs/news/monitor-and-improve-your-application-resiliency-with-resilience-hub/
情シスとかSREとか、サービスの回復性なんかを定期的に測定して、「サービスの可用性担保できるよね」を確認する際に便利なのかも
2022#25 2022/06/23 (木) https://jawsug-niigata.connpass.com/event/251656/
気になる記事
AWS Badgets を使って、利用料の閾値超えたらアラート出す
https://dev.classmethod.jp/articles/tsnote-aws-budgets-how-do-i-get-notified-when-my-daily-aws-spend-exceeds-a-threshold/
CDK v2 で Step Functions の Parallel ステート定義
https://dev.classmethod.jp/articles/implementing-parallel-processing-by-parallel-state-in-aws-step-functions-aws-cdk-v2/
TerraformでTypeScriptのLambdaデプロイ
https://dev.classmethod.jp/articles/deploy-typescript-lambda-function-with-terraform/
他
Cloudflareの障害
https://www.itmedia.co.jp/news/articles/2206/22/news099.html
2022#26 2022/06/30 (木) https://jawsug-niigata.connpass.com/event/252371/
気になる記事
EC2-Classic 終了へ
https://japan.zdnet.com/article/35174657/
2022/08/15 に終了
移行する際はどうすればいいのか?
Application Migration Service や Database Migration Service あたりを使うのでは?
https://aws.amazon.com/jp/application-migration-service/
ウクライナのデータをSnowball使ってAWSへ移行
https://www.itmedia.co.jp/news/articles/2206/13/news136.html
AWS DMS と AWS Snowball を使用して大規模なデータベース移行を可能にする
https://aws.amazon.com/jp/blogs/news/enable-large-scale-database-migrations-with-aws-dms-and-aws-snowball/
252 台の AWS Snowball Edge を活用し 25PB の大容量データ移行を約 2 年で完遂
https://aws.amazon.com/jp/solutions/case-studies/kddi_2022/
Step FunctionsのExpressワークフロー
https://dev.classmethod.jp/articles/step-functions-update-express-workflows/
EC2 Global View
https://dev.classmethod.jp/articles/ec2-global-view/
2022#27 2022/07/07 (木) https://jawsug-niigata.connpass.com/event/253244/
気になる記事
IAM Roles Anywhere
https://aws.amazon.com/jp/about-aws/whats-new/2022/07/aws-identity-access-management-iam-roles-anywhere-workloads-outside-aws/
Python早見帳が SageMaker Studio Labからすぐに学べるようになった
https://aws.amazon.com/jp/blogs/news/python-hayamicho-is-available-in-sagemaker-studio-lab/
Amazon SageMaker Data Wrangler と Amazon SageMaker Autopilot によるデータ準備とモデルトレーニングの一元化
https://aws.amazon.com/jp/blogs/news/unified-data-preparation-and-model-training-with-amazon-sagemaker-data-wrangler-and-amazon-sagemaker-autopilot/
AWS Well-Architected Tool が AWS Organizations と統合
https://aws.amazon.com/jp/about-aws/whats-new/2022/06/aws-well-architected-tool-organizations-integration/
Lambda で使用できる標準ライブラリのバージョンの固定方法
https://dev.classmethod.jp/articles/tsnote-how-do-i-manage-the-versions-of-standard-libraries-that-can-be-used-with-lambda/
Experimental construct librariesがAWS CDK v2で利用可能
https://aws.amazon.com/jp/blogs/news/experimental-construct-libraries-are-now-available-in-aws-cdk-v2/
2022#28 2022/07/14 (木) https://jawsug-niigata.connpass.com/event/254005/
気になる記事
Redshift Serverless が GA
https://dev.classmethod.jp/articles/20220713-amazon-redshift-serverless/
Cloud WAN が GA
https://dev.classmethod.jp/articles/aws-cloud-wan_ga/
CloudHSMの秘密鍵のインポートとエクスポート
https://dev.classmethod.jp/articles/import-and-export-private-key-with-aws-cloudhsm/
re:Postでプロフィール画像と、質問/回答でのインライン画像が利用可能
https://dev.classmethod.jp/articles/aws-repost-profile-question-answer-image/
AWS認定の無料模擬試験がさらに便利に
https://dev.classmethod.jp/articles/new-aws-official-practice-questions2/
Amazon Workmailにてメールを転送の際にJunkMailへ振り分けられた理由
https://dev.classmethod.jp/articles/tsnote-aws-workmail-junkmail-rule-actions/
2022#29 2022/07/21 (木) https://jawsug-niigata.connpass.com/event/254746/
「JAWS DAYS 2022」10/8 (土) 開催
https://note.com/jawsdays/n/n6ae8b5912ebd
気になる記事
EventBridge経由でCloudFormationイベント通知可能
https://aws.amazon.com/jp/about-aws/whats-new/2022/07/aws-cloudformation-event-notifications-amazon-eventbridge-event-driven-applications/
Redshiftバイナリプロトコルサポート & オープンソースODBCドライバ公開
https://aws.amazon.com/jp/about-aws/whats-new/2022/07/amazon-redshift-open-source-odbc-driver-binary-protocol-support-enhanced-performance/
SSOがIAMカスタマー管理ポリシーをサポート
https://dev.classmethod.jp/articles/aws-sso-supports-customer-managed-policies/
他
AWSで量子コンピューティングってやってる?
Amazon Braket
https://aws.amazon.com/jp/braket/
いくつかハンズオン資料やサンプルコードがあるようだ
https://dev.classmethod.jp/articles/devday2020-wsa-3/
https://github.com/aws/amazon-braket-examples
EC2にインターネットからHTTPS通信するには、どんな方法がある?
https://recipe.kc-cloud.jp/archives/11067
Certificate Managerでパブリックな無料の証明書を発行してもらって、EC2のWebサーバに配置でOK
できれば、ALBを前段において、証明書をALBに配置しておくと色々便利
スタティックなWebページなら、S3+CloudFrontのパターンが良い
CloudFormationは覚えたほうがいい?
CloudFormationは後でも良い
最初はCLIから触ってみるほうが良い
AWS CDK使うと、より簡潔に書けるので便利
2022#30 2022/07/28 (木) https://jawsug-niigata.connpass.com/event/255330/
気になる記事
AWS Single Sign-onがAWS IAM Identity Centerに
https://dev.classmethod.jp/articles/aws-sso-is-now-aws-iam-identity-center/
LambdaでABACをサポート
https://aws.amazon.com/jp/about-aws/whats-new/2022/07/aws-lambda-support-abac/
ABACの設計については以下を参考に
https://dev.classmethod.jp/articles/aws-abac-tips/
https://dev.classmethod.jp/articles/akibaaws-06-iam-abac/
Lambda Powertools for TypeScript
https://aws.amazon.com/jp/about-aws/whats-new/2022/07/aws-lambda-powertools-typescript-available/
2022#31 2022/08/04 (木) https://jawsug-niigata.connpass.com/event/256141/
JAWS DAYS 2022 公式サイトオープン & 申込み開始
https://jawsdays2022.jaws-ug.jp/
https://jaws-ug.doorkeeper.jp/events/140008
気になる記事
Microsoft Visual Studioライセンスが含まれたAMIがリリース
https://dev.classmethod.jp/articles/visualstudio-ami-onec2/
Systems Manager が Application Manager のシンプルになったオンボーディングエクスペリエンスを発表
https://aws.amazon.com/jp/about-aws/whats-new/2022/07/aws-systems-manager-simplified-onboarding-experience-application-manager/
以下の記事の時の画面よりよりシンプルになったのかな?
https://dev.classmethod.jp/articles/ssm-application-manager-supports-ecs-cluster/
Athena にクエリの分析および調整用の視覚的なツールを追加
https://aws.amazon.com/jp/about-aws/whats-new/2022/07/amazon-athena-visual-query-analysis-tuning-tools/
https://dev.classmethod.jp/articles/amazon-athena-visualize-explain-get-statistics/
その他
awspec
https://dev.classmethod.jp/articles/use-awspec-to-test-aws-resrouces/
AWSのリソース構成をテスト可能
2022#32 2022/08/11 (木) https://jawsug-niigata.connpass.com/event/256793/
JAWS-UG新潟#12 開催
https://jawsug-niigata.connpass.com/event/253584/
気になる記事
Amazon Timestream がアジアパシフィック (シドニー) およびアジアパシフィック (東京) AWS リージョンで利用可能に
https://aws.amazon.com/jp/about-aws/whats-new/2022/08/amazon-timestream-available-asia-pacific-sydney-tokyo-regions/
AWS Glue Flex jobs
https://aws.amazon.com/jp/blogs/big-data/introducing-aws-glue-flex-jobs-cost-savings-on-etl-workloads/
他
SAA: 8/30に改訂 (SAA-C03)
https://aws.amazon.com/jp/certification/coming-soon/
RDSじゃなくて、EC2にRDBMSインストール入れるケースってどういう時?
保守運用管理が自前で全然できるケースならアリかも
RDSの料金と保守運用管理の人件費のコスト比較してみてから判断しても良いかも
2022#33 2022/08/18 (木) https://jawsug-niigata.connpass.com/event/257399/
気になる記事
CloudFrontがHTTP/3に対応
https://dev.classmethod.jp/articles/amazon-cloudfront-http-3/
https://aws.amazon.com/jp/about-aws/whats-new/2022/08/amazon-cloudfront-supports-http-3-quic/
その他
RDSでT系インスタンス使っていたらCPUクレジットが枯渇してしまった
アイドル状態でもCPU使用率が20%を少し超えてしまっている
CPUクレジットが貯まらない
原因はまだよくわかっていない
psqlで統計情報とってみてみる
性能があまり出なくなる理由は、他の例だとIOPSがある
https://qiita.com/s-katsumata/items/b12f943905ff68474e38
今回はIOPSではないけど、IOPSも原因になる場合もあるので、CloudWatch大事
2022#34 2022/08/25 (木) https://jawsug-niigata.connpass.com/event/257995/
気になる記事
DynamoDBの標準機能でS3から新規テーブルへのデータインポートが可能
https://dev.classmethod.jp/articles/amazon-dynamodb-import-amazon-s3-data-into-a-new-table/
他
IAM Roles Anywhereで、オンプレ環境のサーバからDirect Connect経由とVPCエンドポイント経由でインターネットに出ずにS3にアクセスするという場合に使えるのか?
使えそうだけど、どうなんだろうか?
https://docs.aws.amazon.com/rolesanywhere/latest/userguide/vpc-interface-endpoints.html
API Gateway で、JWTオーソライザー機能が便利
https://dev.classmethod.jp/articles/api-gateway-jwt-auth-azure-ad-craim/
https://dev.classmethod.jp/articles/amazon-api-gateway-jwt-authorizers/
HTTP APIで使える機能
2022#35 2022/09/01 (木) https://jawsug-niigata.connpass.com/event/258609/
JAWS-UG Niigata
9/3 (土): JAWS-UG 新潟#12
https://jawsug-niigata.connpass.com/event/253584/
10/8 (土): JAWS DAYS 2022 新潟サテライト会場
近日公開
気になる記事
SlackからAWS Supportに問い合わせ可能
https://aws.amazon.com/jp/blogs/aws/new-aws-support-app-in-slack-to-manage-support-cases/
Businessプラン以上で利用可能
RDSのDBとEC2インスタンス間のワンクリック接続セットアップ
https://aws.amazon.com/jp/about-aws/whats-new/2022/08/amazon-rds-setting-up-connectivity-rds-database-ec2-compute-instance-1-click/
https://dev.classmethod.jp/articles/ec2-rds-1click/
自己署名証明書でIAM Roles Anywhere
https://dev.classmethod.jp/articles/iam-roles-anywhere-with-a-self-signed-certificate-created-with-openssl/
Step Functionsの組み込み関数14個追加
https://dev.classmethod.jp/articles/aws-step-functions-14-new-intrinsic-features-process-data-workflows/
2022#36 2022/09/08 (木) https://jawsug-niigata.connpass.com/event/259313/
気になる機能
EC2シリアルポート接続
https://dev.classmethod.jp/articles/ec2-serial-console-linux/
使うとしたら、トラブルシューティング系かな
AWS Lambda Powertools for Python
https://aws.amazon.com/jp/builders-flash/202203/lambda-powertools-python-1/?awsf.filter-name=*all
https://awslabs.github.io/aws-lambda-powertools-python/latest/
便利な機能が入っているライブラリ
全部使わなくても、部分的に使う用途でもアリだと思う
Event Handlerは気になる
https://aws.amazon.com/jp/builders-flash/202209/lambda-powertools-python-5/?awsf.filter-name=*all
Flaskのように、気軽にAPI記述できるっぽい
RDSスナップショットの世代について
https://www.slideshare.net/ssuser3ca27b/35-rds60pdf
時間単位で管理される (1日分 = 24時間分)
RDSが停止している時間分はカウントされない
2022#37 2022/09/15 (木) https://jawsug-niigata.connpass.com/event/259989/
cloudformationについて勉強し始めてる
rain
https://github.com/aws-cloudformation/rain
https://graff-it-i.com/2021/10/10/cfn-rain/
cfn-nag
cloudformationのセキュリティ的にリスクのあるやつを検知するやつ
https://github.com/stelligent/cfn_nag
tesec
↑似たやつ
https://github.com/aquasecurity/tfsec
cdktf
なんとなく見始めてた
https://learn.hashicorp.com/tutorials/terraform/cdktf-install?in=terraform/cdktf
https://zenn.dev/mayforblue/articles/09574f95fdbf69
cloudformationがツリー表示できるように
https://aws.amazon.com/jp/about-aws/whats-new/2022/09/aws-cloud-development-kit-cdk-announces-cdk-construct-tree-view-cloudformation-console/
マネコンのお気に入りで、文字を消す
2022#38 2022/09/22 (木) https://jawsug-niigata.connpass.com/event/260791/
AWS APAC Community Summit 2022
参加してきた話
気になるネタ
CloudFormationの既存リソースのインポートの際、同じスタックに既存リソースのインポートと新規リソース作成を含めることができるのか?
できないと思われる。
https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/resource-import.html#resource-import-considerations
インポートオペレーションでは、新しいリソース作成、リソースの削除、プロパティ設定の変更は許可されません。
うまくスタックを分けて管理する必要がありそう。
ちなみに、DeletionPolicy属性は何かしらの値を指定する必要がある。RetainだけでなくDeleteやSnapshotでもOK。
https://dev.classmethod.jp/articles/cfn-import-deletionpolicy-not-retain/
AWS CloudFormationスタック強制削除ツール
https://go-to-k.hatenablog.com/entry/delstack
S3のバケット削除など、便利に使える
2022#39 2022/09/29 (木) https://jawsug-niigata.connpass.com/event/261391/
気になる記事
Amazon Route 53 が DNS リソースレコードセットレベルでのアクセス許可をサポート
https://dev.classmethod.jp/articles/amazon-route-53-support-dns-resource-record-set-permissions/
他のネタ
音声文字起こし "Whisper"
https://dev.classmethod.jp/articles/whisper-trial-japanese/
タイのレポート
https://dev.classmethod.jp/articles/aws-apac-community-summit-2022-report/
EC2にApacheとかインストールする際に、UserDataを使う方法があるけど、実際に中に入ってインストールするケースはある?
中に入る経路は確保しているけど、インストール作業するかどうかはプロジェクト次第
経路はSSM+SSHを使うケースが多い
HashiCorpのPackerやEC2 Image BuilderでAMIを作成するケースはある
EC2 Image builder
https://dev.classmethod.jp/articles/ec2-image-builder-primer/
ALB→EC2間の通信はHTTP通信?HTTPS通信?
HTTP通信でも良いけど、セキュリティ要件によってはHTTPS通信も可能
プライベート証明書が必要
https://dev.classmethod.jp/articles/alb-backend-https/
↑記事はプライベート証明書の代わりに自己証明書を使用している。本番利用なら自己証明書ではなくプライベート証明書を準備しよう。
アクセス制限はセキュリティグループで問題ない?
基本はセキュリティグループ。他にNACLを使うケースも。
https://dev.classmethod.jp/articles/amazon-vpc-acl/
用途に応じてAWS WAF設置なども考慮する
RDSでリージョン間レプリケーションはできる?
Auroraならリージョン間レプリケーション可能
https://docs.aws.amazon.com/ja_jp/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Replication.CrossRegion.html
Aurora Global Database使う方法もある
2022#40 2022/10/06 (木) https://jawsug-niigata.connpass.com/event/261937/
気になる記事
Amazon File Cache が GA
https://dev.classmethod.jp/articles/amazon-file-cache-generally-available/
https://dev.classmethod.jp/articles/how-to-create-amazon-file-cache-by-cli/
EFSは対象外
https://dev.classmethod.jp/articles/check-amazon-file-cache-support-efs/
気になるネタ
S3 → Lambdaへのイベント通知
https://bluepixel.hatenablog.com/entry/2020/05/04/213030
Salesforceとの連携にAppFlowを使っているけど、めっちゃ便利
https://trailhead.salesforce.com/ja/content/learn/modules/amazon-appflow/get-started-with-amazon-appflow
AWSのIPレンジ
https://docs.aws.amazon.com/ja_jp/general/latest/gr/aws-ip-ranges.html
2022#41 2022/10/13 (木) https://jawsug-niigata.connpass.com/event/262648/
気になる記事
AWSの日本への投資と経済効果
https://aws.amazon.com/jp/blogs/news/economic-impact-of-aws-investment-in-japan/
AWS Activate
https://aws.amazon.com/jp/activate/
スタートアップ企業向け支援プログラム
他
コンテナの脆弱性検査ツール
Trivy
https://github.com/aquasecurity/trivy
Dockle
https://github.com/goodwithtech/dockle
Amazon Inspector
https://aws.amazon.com/jp/inspector/
コンテナイメージの脆弱性検査にも対応している
Amazon Inspector を使用した Amazon ECR プライベートレジストリでのコンテナスキャンの更新
https://aws.amazon.com/jp/blogs/news/container-scanning-updates-in-amazon-ecr-private-registries-using-amazon-inspector/
2022#42 2022/10/20 (木) https://jawsug-niigata.connpass.com/event/263311/
気になる記事
Lambdaから直接Parameter Store/Secrets Managerから値を取得可能
https://dev.classmethod.jp/articles/lambda-get-paramater/
https://aws.amazon.com/jp/about-aws/whats-new/2022/10/aws-parameters-secrets-lambda-extension/
APIコール数の削減やキャッシュ機能で使えるケースがあるかも。
ECS Execの有効化が原因でECSタスクがPROVISIONING状態から遷移しなくなった話
https://dev.classmethod.jp/articles/ecs-exec-cant-use-with-asg-capacity-provider/
ECS Execは、現時点でAuto Scalingグループのキャパシティプロバイダーを使用して起動されたタスクに対応していないため、このような症状になった模様
他
AWS SDK for Rustが容量小さくて軽いので良い
https://zenn.dev/hkdord/articles/try-aws-sdk-rust
exampleにssmのget-parameterがなかったので、exampleの他の関数例参考に色々調べながら書いた
https://github.com/awslabs/aws-sdk-rust/blob/main/examples/ssm/src/bin/describe-parameters.rs
aws cloudformation validate-templateコマンドって使う?
CI/CDでテンプレート検証で使うかも
https://zenn.dev/mjxo/articles/69998312515bcd
https://dev.classmethod.jp/articles/efficient-develop-of-cfn/
AWS::CloudFormation::Authenticationってどのタイミングで使う?
https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-resource-authentication.html
cfnでファイルをEC2に仕込んでおく時に使う
でも、ほとんど使うことはないかな?cfnはEC2の外側の構成を管理したい。EC2の中は、別のツール(Chef等)でプロビジョニングしたい。
cfnの短縮記法と Fn::記法の違い
短縮記法は、変換した値をそのまま使えるみたい
リソースによって振る舞いが変わったりすることがあるので注意
2022#43 2022/10/27 (木) https://jawsug-niigata.connpass.com/event/264048/
もくもく会
ProxySQL + Fargateのサンプルをやってみる
https://github.com/aws-samples/serverless-refarch-for-proxysql
参考
https://aws.amazon.com/tw/blogs/database/how-to-use-proxysql-with-open-source-platforms-to-split-sql-reads-and-writes-on-amazon-aurora-clusters/
2022#44 2022/11/03 (木) https://jawsug-niigata.connpass.com/event/264683/
もくもく会
前回の続き
ProxySQL + Fargateのサンプルをやってみる
https://github.com/aws-samples/serverless-refarch-for-proxysql
App RunnerでプライベートVPC内からのアクセスを試す
https://aws.amazon.com/jp/about-aws/whats-new/2022/11/aws-app-runner-supports-privately-accessible-services-amazon-vpc/
https://dev.classmethod.jp/articles/aws-app-runner-supports-privately-accessible-services-amazon-vpc/
2022#45 2022/11/10 (木) https://jawsug-niigata.connpass.com/event/265531/
もくもく会
App RunnerでプライベートVPC内からのアクセスを試す (続き)
https://aws.amazon.com/jp/about-aws/whats-new/2022/11/aws-app-runner-supports-privately-accessible-services-amazon-vpc/
RDS接続を試す
ネットワークのdeep dive記事内にある、Sample Leaderboard Applicationを試す
https://aws.amazon.com/jp/blogs/containers/deep-dive-on-aws-app-runner-private-services/
Backend App: https://github.com/aws-samples/apprunner-leaderboard-backend
Frontend App: https://github.com/aws-samples/apprunner-leaderboard-frontend
2022#46 2022/11/17 (木) https://jawsug-niigata.connpass.com/event/266274/
もくもく会
ネットワークのdeep dive記事内にある、Sample Leaderboard Applicationを試す (続き)
https://aws.amazon.com/jp/blogs/containers/deep-dive-on-aws-app-runner-private-services/
Backend App: https://github.com/aws-samples/apprunner-leaderboard-backend
Frontend App: https://github.com/aws-samples/apprunner-leaderboard-frontend
2022#47 2022/11/24 (木) https://jawsug-niigata.connpass.com/event/267034/
気になる記事
Amazon EventBridge Scheduler
https://dev.classmethod.jp/articles/amazon-eventbridge-scheduler-new-way-to-launch-tasks/
お悩み相談
Aurora Serverless V2のACUのスケールダウンがうまく働いていないように見える
コスト削減目的で使っているけど、スケールダウンがうまく作用してなくて、結果的にProvisionedの頃より高い利用料になっている
ACUのスケールアップはそれなりに瞬時に動いてくれそうだけど、スケールダウンはどうなんだろう?
https://engineering.dena.com/blog/2022/06/aurora-serverless-v2/
Performance Insightsを有効化していると、少なくても2ACUが推奨されているみたいだから、それでスケールダウンがうまく働いていないのかもしれない
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.min_capacity_considerations
CloudFrontのアクセスログ保存先のS3バケットはACL有効にしないといけないけど、TerraformだとACL無効でもなぜか保存できてしまっていた。(警告は出ていた)
https://dev.classmethod.jp/articles/cloudfront-access-log-dont-choose-no-acl-s3-bucket/
Terraformの警告を発生しないように、色々いじっていたらログ出力されなくなった
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_ownership_controls
object_ownershipで
BucketOwnerEnforced: ACL無効でデフォルト挙動
BucketOwnerPreferred: ACL有効で、バケット所有者がオブジェクト所有者になる
ObjectWriter: ACL有効で、オブジェクト書き込み者がそのままオブジェクト所有者になる
この辺の設定挙動がおかしかったのかもしれない
2022#48 2022/12/1 (木) https://jawsug-niigata.connpass.com/event/267756/
もくもく会
re:inventのまとめっぽいのを眺める
https://dev.classmethod.jp/articles/aws-reinvent-2022-adam-selipsky-keynote
Amazon OpenSearch Serverless
Aurora zero-ETL integration with Redshift 使いたいけど、mysqlのみか~
Amazon Redshift Integration for Apache Spark
Amazon DataZone ちょっとよくわからなかった
Amazon QuickSight Paginated Reports
ML-powerd forecasting with Q
"Why" questions with Q
Container runtime threat detection for GuardDuty
Amazon Security Lake
Amazon EC2 Inf2 instances
Amazon EC2 Hpc6id Instances
AWS SimSpace Weaver
Amazon Connect ML Driven forecasting, capacity planning, and scheduling
Amazon Connect Agent WorkSpace with guided step-by-step actions
Amazon Connect Contact Lens with Agent performance management
AWS Supply Chain
AWS Clean Rooms
Amazon Omics
Just Walk Out Technology by Amazon
ここまで
ここから気になるのを
Trusted Language Extensions for PostgreSQL
Amazon VPC Lattice
Amazon ECS Service Connect
2022#49 2022/12/08 (木) https://jawsug-niigata.connpass.com/event/269068/
気になる記事
re:Invent 2022 から
RDSのBlue / Greenデプロイ
https://dev.classmethod.jp/articles/rds-bg-deploy/
Glue for Ray
https://dev.classmethod.jp/articles/aws-glue-ray-reinvent-2022/
Athena for Spark
https://dev.classmethod.jp/articles/amazon-athena-for-apache-spark-reinvent2022/
OpenSearch serverless
https://dev.classmethod.jp/articles/aws-reinvent-2022-opensearch-serverless/
Aurora zero-ETL integration with Redshift
https://dev.classmethod.jp/articles/amazon-aurora-zero-etl-integration-with-amazon-redshift/
VPC Lattice
https://dev.classmethod.jp/articles/amazon-vpc-lattice/
ECS Service Connect
https://dev.classmethod.jp/articles/try-amazon-ecs-service-connect/
Application Composer
https://dev.classmethod.jp/articles/aws-application-composer/
EventBridge Pipes
https://dev.classmethod.jp/articles/amazon-eventbridge-pipes-released/
2022#50 2022/12/15 (木) https://jawsug-niigata.connpass.com/event/269204/
気になる記事
Amazon CloudWatch Metrics Insights Alarm
https://dev.classmethod.jp/articles/amazon-cloudwatch-metrics-insights-alarms/
Amazon CloudWatch Internet Monitor
https://dev.classmethod.jp/articles/preview-cloudwatch-internet-monitor-introduction/
Amazon CloudWatch の Cross-account observability
https://dev.classmethod.jp/articles/amazon-cloudwatch-now-allows-centralized-cross-account-monitoring/
Amazon CloudWatch Logs の機密情報保護
https://dev.classmethod.jp/articles/cloudwatch-logs-mask-protected-data/
Lambda SnapStart
https://dev.classmethod.jp/articles/lambda-snapshot-reinvent/
2022#51 2022/12/22 (木) https://jawsug-niigata.connpass.com/event/269800/
気になる記事
2年5ヵ月かけてAWS認定資格を12個取得した話
https://dev.classmethod.jp/articles/12-aws-certifications-over-2-years-and-5-months/
Amazon CodeCatalyst Dev Environments in action
https://dev.classmethod.jp/articles/reinvent2022-session-dop317/
https://www.youtube.com/watch?v=eENxkDpW4Kc
実際にCodeCatalystのスペース作って、React App (Amplify Hosting) をデプロイしてみた
https://codecatalyst.aws/
2022/12/29 (木) はお休み