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

チェックサムコマンド

OS

Ubuntu (22) echo -n test > a.txt md5sum a.txt 098f6bcd4621d373cade4e832627b4f6 a.txt sha1sum a.txt a94a8fe5ccb19ba61c4c0873d391e987982fbbd3 a.txt sha256sum a.txt 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 a.txt Debian…

{VPC}カスタマーマネージドプレフィックスリストの操作

AWS

https://docs.aws.amazon.com/ja_jp/vpc/latest/userguide/working-with-managed-prefix-lists.html https://dev.classmethod.jp/articles/amazon-vpc-prefix-list/ プレフィックスリストは、1 つ以上の CIDR ブロックのセットです。プレフィクスリストを使…

{WAF}Getting started with AWS WAF

AWS

https://blog.serverworks.co.jp/2022/02/01/144012 https://docs.aws.amazon.com/waf/latest/developerguide/getting-started.html -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://awscli.amazonaws.com/awscli-exe-…

{Route53}ルーティングポリシーの選択

AWS

https://dev.classmethod.jp/articles/implement-route53-routing-for-begineer/ https://docs.aws.amazon.com/ja_jp/Route53/latest/DeveloperGuide/routing-policy.html シンプルルーティング加重ルーティング -> 指定した比率で複数のリソースにトラフィ…

{VPN}EC2を使用したVPN

AWS

https://hacknote.jp/archives/56888/https://qiita.com/neustrashimy/items/6fd9ddafc8ea6278f088 前提: デフォルトVPCにEC2インスタンス起動済 -- 1. デフォルトセキュリティグループのインバウンドに下記追加 UDP 500 MyIP IKEUDP 4500 MyIP NAT travers…

{DirectoryService}チュートリアル: AWS Managed Microsoft AD とセルフマネージド Active Directory ドメイン間で信頼関係を作成する

AWS

https://docs.aws.amazon.com/ja_jp/directoryservice/latest/admin-guide/ms_ad_tutorial_setup_trust.htmlhttps://qiita.com/mksamba/items/a6e93bbd2e0bd80c9393https://aws.amazon.com/jp/premiumsupport/knowledge-center/enable-active-directory-cons…

インラインビューの更新

DB

MySQL、PostgreSQL、SQL Serverはインラインビューの更新不可 MySQL (8.0.29) drop table tab1;create table tab1( col1 bigint primary key ,col2 bigint ); drop table tab2;create table tab2( col1 bigint primary key ,col2 bigint ); drop procedure p…

{StorageGateway}Creating a Volume Gateway

AWS

https://dev.classmethod.jp/articles/storage-gateway-cachevolume-introduction/ https://docs.aws.amazon.com/ja_jp/storagegateway/latest/vgw/create-volume-gateway-volume.html Cached volumes - Stores your primary data in Amazon S3 and retains …

{StorageGateway}Amazon S3 ファイルゲートウェイを作成してアクティベートする

AWS

AWSStorage Gateway は、オンプレミスのソフトウェアアプライアンスをクラウドベースのストレージと接続し、お客様のオンプレミスの IT 環境と、AWSストレージインフラストラクチャ。このサービスを使用して、データをAWSクラウドは、データのセキュリティを…

エクスポート/インポート、バックアップ/リストアのドライランオプション

DB

MySQL (8.0.29) mysqldumpにドライランオプションはない模様 Oracle (19c) expdpにはESTIMATE_ONLYオプションありimpdpにはESTIMATE_ONLYオプション無しRMANのbakupやrestoreにvalidateオプションはある expdp test/test@pdb1 directory=ORA_DIR logfile=a.l…

{Detective}Setting up Amazon Detective

AWS

潜在的なセキュリティの問題を調査および分析 https://blog.serverworks.co.jp/tech/2020/04/08/post-82639/ https://dev.classmethod.jp/articles/amazon-detective/ https://docs.aws.amazon.com/detective/latest/adminguide/detective-setup.html Amazon…

{Cognito}チュートリアル: ID プールの作成

AWS

https://dev.classmethod.jp/articles/get-aws-temporary-security-credentials-with-cognito-id-pool-by-aws-cli/ https://docs.aws.amazon.com/ja_jp/cognito/latest/developerguide/tutorial-create-identity-pool.html ルールベースでのIAMロール選択の…

抽出条件付きインポート

DB

MySQL (8.0.29) 調べた限り、load data ステートメントで抽出条件は指定できない模様 Oracle (19c) ※抽出条件として、他テーブル参照の場合、ダンプファイル内のテーブルとインポート先DBのテーブルのどちらを参照しているかを確認する 結論:queryパラメー…

{SecurityHub}AWS Security Hub の設定

AWS

https://docs.aws.amazon.com/ja_jp/securityhub/latest/userguide/securityhub-settingup.html https://docs.aws.amazon.com/ja_jp/securityhub/latest/userguide/securityhub-prereq-config.html AWS Security Hub は、サービスにリンクされた AWS Config …

{GuardDuty}GuardDuty の開始方法

AWS

https://docs.aws.amazon.com/ja_jp/guardduty/latest/ug/guardduty_settingup.html https://sayjoyblog.com/aws_guardduty_enable/ -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://awscli.amazonaws.com/awscli-exe-…

{X-Ray}Using the AWS X-Ray API with the AWS CLI

AWS

https://docs.aws.amazon.com/ja_jp/lambda/latest/dg/services-apigateway-tutorial.html https://qiita.com/mksamba/items/448c538236ab2989eba9 https://qiita.com/Ricordanza/items/d68d708e274e28b6bfa2 https://docs.aws.amazon.com/ja_jp/apigateway/…

{Inspector}Getting started with Amazon Inspector

AWS

https://docs.aws.amazon.com/inspector/latest/user/getting_started_tutorial.htmlhttps://www.softek.co.jp/SID/blog/archive/entry/20211207.htmlhttps://dev.classmethod.jp/articles/amazon-inspector-v2-released/ Amazon Inspector requires that th…

{Macie}Getting started with Amazon Macie

AWS

https://dev.classmethod.jp/articles/amazon-macie-securityhub-eventbridge-alert/https://docs.aws.amazon.com/ja_jp/macie/latest/user/getting-started.html -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://awsc…

{Glue}チュートリアル: AWS Glue クローラの追加

AWS

https://docs.aws.amazon.com/ja_jp/glue/latest/ug/tutorial-add-crawler.html https://dev.classmethod.jp/articles/aws-glue-crawler-view-data-catalog-objects/ -- 1. コマンド等のインストール -- 1.1 aws cli version 2 インストール curl "https://a…

{Athena}使用開始方法

AWS

https://dev.classmethod.jp/articles/amazon-athena-run-query-using-awscli/ https://docs.aws.amazon.com/ja_jp/athena/latest/ug/getting-started.html https://qiita.com/yoshiyama_hana/items/9b2f26b214de92a0f36c https://aws.amazon.com/jp/premium…