2022-05-01から1ヶ月間の記事一覧

{APIGateway}Amazon Cognito ユーザープールをオーソライザーとして使用して REST API へのアクセスを制御する

AWS

https://blog.serverworks.co.jp/2021/03/02/201531https://docs.aws.amazon.com/ja_jp/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://aw…

{APIGateway}API Gateway Lambda オーソライザーを使用する

AWS

https://docs.aws.amazon.com/ja_jp/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html https://dev.classmethod.jp/articles/lambda-authorizer-toke-request/ https://qiita.com/favolabo/items/369631ca7696fad9307a Lambda オー…

{KMS}エンベロープ暗号化

AWS

https://qiita.com/RuyPKG/items/21d397516c2df2f0c45a https://cloud-aws-gcp.hateblo.jp/entry/2019/11/27/102334 https://docs.aws.amazon.com/ja_jp/kms/latest/developerguide/concepts.html#enveloping -- 1. コマンド等のインストール -- 1.1 aws cli…

{Config}ec2-managedinstance-applications-blacklisted

AWS

https://dev.classmethod.jp/articles/stop-ec2-by-application-blacklist/ https://dev.classmethod.jp/articles/show-installed-appilications-by-ssm-inventory/ EC2作成↓SSMインベントリ登録↓Configリソース登録↓Configルール作成 -- 1. コマンド等のイ…

{SystemsManager}インベントリ収集の設定

AWS

https://dev.classmethod.jp/articles/show-installed-appilications-by-ssm-inventory/ https://docs.aws.amazon.com/ja_jp/systems-manager/latest/userguide/systems-manager-inventory.htmlhttps://docs.aws.amazon.com/ja_jp/systems-manager/latest/us…

{SystemsManager}Session Manager のセットアップ

AWS

https://dev.classmethod.jp/articles/session-manager-with-aws-cli/ https://docs.aws.amazon.com/ja_jp/systems-manager/latest/userguide/session-manager-getting-started.html https://dev.classmethod.jp/articles/execution-log-in-aws-ssm-to-s3/ -…

{Glacier}Amazon S3 Glacier ボールトロック

AWS

https://docs.aws.amazon.com/ja_jp/amazonglacier/latest/dev/vault-lock.html https://qiita.com/miyuki_samitani/items/2896d28eb3378a20513b Amazon S3 Glacier ボールトアクセスポリシーは、ボールトに対する権限を管理するのに使用できるリソースベー…

{SecretsManager}AWS Secrets Managerシークレットのローテーション

AWS

https://docs.aws.amazon.com/ja_jp/secretsmanager/latest/userguide/rotating-secrets.html https://blog.serverworks.co.jp/secrets-manager-rotation https://random-tech-note.jp/rds-rotate-password/ https://docs.aws.amazon.com/ja_jp/secretsmanag…

{Config}AWS リソースの現在の設定状態のクエリ

AWS

https://docs.aws.amazon.com/ja_jp/config/latest/developerguide/querying-AWS-resources.html -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zi…

{Config}AWS Config ルールでのリソースの評価

AWS

https://docs.aws.amazon.com/ja_jp/config/latest/developerguide/evaluate-config.html https://dev.classmethod.jp/articles/config-automatically-repair-ebs-default-encryption/ https://docs.aws.amazon.com/ja_jp/config/latest/developerguide/reme…

{Config}AWS CLI を使用した AWS Config のセットアップ

AWS

https://docs.aws.amazon.com/ja_jp/config/latest/developerguide/gs-cli.htmlhttps://www.ctc-g.co.jp/solutions/cloud/column/article/30.htmlhttps://docs.aws.amazon.com/ja_jp/config/latest/developerguide/notifications-for-AWS-Config.html AWS Co…

{Kinesis}Amazon Kinesis Data Analytics for SQL Applications の開始方法

AWS

https://blog.serverworks.co.jp/aws/swx/kinesis-analytics https://docs.aws.amazon.com/ja_jp/kinesisanalytics/latest/dev/getting-started.html 入力: input_stream SOURCE_SQL_STREAM_001出力: output_stream DESTINATION_SQL_STREAM -- 1. コマンド等…

{S3}S3 Replication Time Control (S3 RTC) を使用してコンプライアンス要件を満たす

AWS

https://docs.aws.amazon.com/ja_jp/AmazonS3/latest/userguide/replication-time-control.html レプリケート元とレプリケート先の両方のバケットで、バージョニングを有効にする必要があります。Amazon S3 には、お客様に代わってレプリケート元バケットか…

{TransferFamily}チュートリアル: AWS Transfer Family で開始

AWS

https://engineer.retty.me/entry/aws-transfer-for-sftp https://docs.aws.amazon.com/ja_jp/transfer/latest/userguide/getting-started.html -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://awscli.amazonaws.com/…

{CloudFront}チュートリアル: CloudFront Functions を使用した単純な関数の作成

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/functions-tutorial.html https://zenn.dev/yh1224/articles/xq2kvl7vv1ygl8c4z https://dev.classmethod.jp/articles/amazon-cloudfront-functions-release/ -- 1. コマンド等の…

{CloudFront}チュートリアル: シンプルな Lambda@Edge 関数の作成

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-how-it-works-tutorial.html https://qiita.com/chii-08/items/1b8c7f9f876673b7aa20 Lambda@Edge 関数を作成するにはUS-East-1 (バージニア北部) リージョン (us-ea…

{Backup}AWS Backup を始める

AWS

https://docs.aws.amazon.com/ja_jp/aws-backup/latest/devguide/getting-started.htmlhttps://dev.classmethod.jp/articles/aws-backup-ec2-instances/ You cannot delete two backup vaults: the AWS Backup default backup vault and the Amazon EFS auto…

{VPC}Get started with Traffic Mirroring

AWS

https://docs.aws.amazon.com/ja_jp/vpc/latest/mirroring/traffic-mirroring-getting-started.html https://aws.amazon.com/jp/blogs/news/new-vpc-traffic-mirroring/ https://dev.classmethod.jp/articles/201906-release-vpc-traffic-mirroring/ 作業端…

{CloudFront}フィールドレベル暗号化を使用した機密データの保護

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html https://dev.classmethod.jp/articles/cloudfront-field-level-encryption/ https://dev.classmethod.jp/articles/alb-backend-https/ https://qiit…

{CloudFront}オリジンリクエストへのカスタムヘッダーの追加

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.htmlhttps://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/restrict-access-to-load-balancer.html https://www.yamamanx.com/…

{CloudFront}CloudFront オリジンフェイルオーバーによる高可用性の最適化

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/high_availability_origin_failover.html https://dev.classmethod.jp/articles/cloudfront-origin-failover/ プライマリオリジン: ALBセカンダリオリジン: S3 -- 1. コマンド等…

{CloudFront}署名付き Cookie の使用

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-cookies.html https://dev.classmethod.jp/articles/cloudfront-signed-cookie/ -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール…

{CloudFront}署名付き URL の使用

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-urls.html https://zenn.dev/may_solty/articles/807dbad3a30de8 次のような場合は、署名付き URL を使用します。 個別のファイル (アプリケーションのイ…

{CloudFront}オリジンアクセスアイデンティティ (OAI) を使用して Amazon S3 コンテンツへのアクセスを制限する

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.htmlhttps://aws.amazon.com/jp/premiumsupport/knowledge-center/cloudfront-serve-static-website/ ウェブサイトエンドポイントとし…

{CloudFront}コンテンツの地理的ディストリビューションの制限

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/georestrictions.html -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2…

{CloudFront}CloudFront ディストリビューションの価格クラスを選択する

AWS

https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"…

{CloudFront}Getting started with a simple CloudFront distribution

AWS

https://blog.serverworks.co.jp/2021/02/05/151548 https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/GettingStarted.SimpleDistribution.html -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://a…

{ServiceCatalog}ご利用スタートにあたって

AWS

https://www.yamamanx.com/aws-service-catalog-tutorial/ https://docs.aws.amazon.com/servicecatalog/latest/adminguide/getstarted.html 前提:エンドユーザとしてコンソール権限を有するtestuserを作成し、AWSServiceCatalogEndUserFullAccess 付与済み…

{FIS}チュートリアル: テストインスタンスの停止と使用開始AWS FIS

AWS

https://business.ntt-east.co.jp/content/cloudsolution/column-try-46.htmlhttps://qiita.com/hirosys-biz/items/16002428f87c08c0a637https://docs.aws.amazon.com/ja_jp/fis/latest/userguide/fis-tutorial-stop-instances.html -- 1. コマンド等のイン…

データ更新時のundo使用量(更新カラム数の影響)

DB

MySQL (8.0.28) -- 1. テストテーブル準備drop table tab1;create table tab1( col1 int primary key ,col2 char(100) ,col3 char(100) ,col4 char(100) ,col5 char(100) ,col6 char(100) ,col7 char(100) ,col8 char(100) ,col9 char(100) ); drop procedur…