WA の検索結果:
…stracted away from developers.", "keyword": "serverless", "vector": [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0] }, { "id": "doc2", "text": "Instead, it refers to a cloud computing model where developers can build and run applications…
…da-deploy Waiting for function update to complete. Will wait for 5 minutes Function update completed successfully Lambda function deployment completed successfully デプロイ2回目 今度はコードを書き換えて(v2 のところ)もう一度デプロイして,同じく期待通りだった. import requests def lamb…
… │ apigateway.amazonaws.com │ ap-northeast-1 │ 59 │ │ schemas.amazonaws.com │ ap-northeast-1 │ 33 │ │ iotsecuredtunneling.amazonaws.com │ ap-northeast-1 │ 24 │ │ cloudtrail.amazonaws.com │ ap-northeast-1 │ 18 │ │ servicecatalog-appregistry.…
…n ではなく forward を使う必要があって,通常(一つのターゲットグループにルーティングする場合)とは少し異なる実装になる. To route to one or more target groups, use a forward block instead. 一つ以上のターゲットグループにルーティングするために代わりに forward ブロックを使用します。 👾 alb.tf 参考実装を載せておく❗️ resource "aws_lb" "main" { name =…
… on disk) was modified to retrieve blocks of 4,000 bytes. The ratio of-the time required to read a large file under version 2 to the time required to read the same large file under version 1 is approximately question = You want to cluster 7…
…ype = "forward" forward { target_group { arn = aws_lb_target_group.blue.arn weight = 100 } target_group { arn = aws_lb_target_group.green.arn weight = 0 } } } lifecycle { ignore_changes = [default_action] } } 関連ポスト ecspresso でもう ECS Blue / …
2025年7月17日に Amazon ECS の新機能「Amazon ECS Blue/Green Deployment(Blue/Green デプロイ)」がリリースされた🎉 AWS Lambda 関数を使ったライフサイクルフック・ベイク時間・テストトラフィック・Amazon ECS Service Connect サポートなどなど,便利な仕組みもあるけど,今回はシンプルに ALB (Application Load Balancer) を使って Blue/Green デプロ…
…uilding Towards Computer Use with Anthropic 5 Branch Deploy Action x Terraform を試す 5 AWS MPC Servers を試す 4 Use configuration to move resources x Moto を試す 4 redash-hands-on: Redash v25.1 対応 4 Pair Programming with a Large Language Model 4 Op…
…azon CloudWatch Logs アイコンを追加した. github.com aws-samples/localstack-terraform-test AWS Prescriptive Guidance として公開されている Test AWS infrastructure by using LocalStack and Terraform Tests を試しているときに非推奨になっている LocalStack の環境変数が多く使われていたため,LocalStack …
…した. Video walkthrough から引用 試験対策 🤔 Terraform チュートリアル Exam Content List を確認して,ちょっと不安な出題範囲の Terraform チュートリアルを実施した.また AWS アカウントではなく Moto を使うようにして,コストを気にせず何度でも繰り返し実施できて良かった👌 kakakakakku.hatenablog.com さらに VS Code で GitHub Copilot 拡張機能を無効化して AI …
…ou really want to destroy all resources? Terraform will destroy all your managed infrastructure, as shown above. There is no undo. Only 'yes' will be accepted to confirm. Enter a value: yes (中略) Destroy complete! Resources: 24 destroyed. まと…
…: [ "cloudwatch:ListMetrics", "cloudwatch:GetMetricStatistics", "cloudwatch:Describe*" ], "Effect": "Allow", "Resource": "*" }, { "Action": "autoscaling:Describe*", "Effect": "Allow", "Resource": "*" } ], "Version": "2012-10-17" }, "Version…
… ◇ Do you want to run `git push`? │ No │ └ `git push` aborted そして OCO_ONE_LINE_COMMIT=true というオプションを設定すると自動生成されるコミットメッセージをまとめることができる(まとめようと努力する).ちなみに src/prompts.ts を確認すると以下のようなプロンプトが挿入されるようになっている💡 Craft a concise commit message that encaps…
…ce either way GitHub Actions ワークフロー 基本的には以下の記事に載せた GitHub Actions ワークフロー(Branch Deploy Action で Terraform をデプロイする)と同じにしつつ,Branch Deploy Action (branch-deploy) のパラメータとして admins: kakakakakku を追加した. kakakakakku.hatenablog.com GitHub Actions ワー…
…azon CloudWatch Logs. Flow log data can help customers troubleshoot network issues; for example, to diagnose why specific traffic is not reaching an instance, which might be a result of overly restrictive security group rules. 個人的な検証環境では VP…
…Apply software design principles to your infrastructure code.(インフラストラクチャコードにソフトウェア設計の原則を適用する) 17: Infrastructure Code Testing Strategy Infrastructure as Code のテストって「何をどこまで」やれば良いの?という相談はよく受けるけど,そういう疑問のアンサーになるような内容になっていて良かった. たとえば「サブネットの CIDR…
…oy Action was triggered, checkout our branch - name: Checkout if: steps.branch-deploy.outputs.continue == 'true' uses: actions/checkout@v4 with: ref: ${{ steps.branch-deploy.outputs.sha }} # Setup Terraform on our Actions runner - uses: has…
…azon CloudWatch アラームを設定するコードを実装してみた🧪 実装方針としては aws_instances データソースで Amazon EC2 インスタンスを取得して(今回はタグでフィルタリングする),Terraform の for_each メタ引数を使って aws_cloudwatch_metric_alarm リソースを宣言するイメージ💡 developer.hashicorp.com ちなみに aws_instances データソースのドキュメントには「…
…azon CloudWatch Logs にログ出力する部分もアーキテクチャ図に含めるようにプロンプトを拡張して再実行する. chapter07/template.yaml を参考にアーキテクチャ図を作成して! Amazon DynamoDB Streams のアイコンは diagrams.aws.database.DynamodbStreams を使いましょう AWS Lambda のコードは chapter07/src/app.py を参考にして、 もし print 関数…
…l Console Walkthrough Conclusion Appendix – Tips and Help AWS アカウント不要 そして,DeepLearning.AI ではコース動画を観るだけではなく,実際に Jupyter Notebook で boto3 を使ったコードを実行しながら体験することができる.そして,アクセスキーも準備されているため,AWS アカウントを使わずに Amazon Bedrock を試せてしまう💡これはスゴイ❗️(もちろん不正利用は N…
…に NAT Gateway が配置される👌 コスト削減(可用性は考慮した上で)のために NAT Gateway 1つの Multi-AZ VPC にする場合,ドキュメントを読むと natGateways プロパティを指定すれば良さそうかな〜と思ったけど,実際に確認してみることにした. You can set this number lower than the number of Availability Zones in your VPC in order to save …
普段 Terraform のバージョン管理ツールとして tfenv を使っている.機能面で困ることはないけど,tfenv の GitHub リポジトリを確認すると,直近数年は特にアップデートがなく,メンテナンスの観点で少し不安を感じていた💦 github.com 念のため tfenv の代替ツールを探しておこうと思って,tenv を試してみた❗️tenv は tfenv と同じように使えて,OpenTofu や Terragrunt もサポートしているという特徴がある.そして…
…azon CloudWatch Logs ロググループと Amazon SNS トピックを定義しておいて,途中から monitoring-stack(モニタリングスタック) に Amazon SNS トピックを移動したくなったというシナリオを試す❗️ 準備 👾 app-stack/template.yaml まずは Amazon CloudWatch Logs ロググループと Amazon SNS トピックを定義する. AWSTemplateFormatVersion: 20…
…azon CloudWatch Logs ロググループを定義する.このとき論理 ID は Logs にしておく👌 AWSTemplateFormatVersion: 2010-09-09 Resources: Logs: Type: AWS::Logs::LogGroup Properties: LogGroupName: cfn-stack-refactoring-logical-id そして aws cloudformation deploy コマンドを使って AWS C…
…azon CloudWatch 次に AWS Well-Architected Cost & Usage Report Library - Management & Governance に載っている Amazon CloudWatch のコスト分析クエリを試す.Amazon CloudWatch の使用状況を詳細に分析できる👌 以下にクエリライブラリに載っている Legacy CUR から変更した部分をまとめておく📝(あとブログ用に件数を絞るため LIMIT 10 を追加し…
…6" apigateway = "http://localhost:4566" apigatewayv2 = "http://localhost:4566" appautoscaling = "http://localhost:4566" appconfig = "http://localhost:4566" appflow = "http://localhost:4566" appsync = "http://localhost:4566" athena = "http:/…
…おくと良いと思う. Warning! It is highly recommended that you enable Bucket Versioning on the S3 bucket to allow for state recovery in the case of accidental deletions and human error. developer.hashicorp.com 👾 backend.tf backend.tf は以下のようにした.ポイントは …
…mazonCloudWatch │ 0.00000000 │ │ └────────────────────────┴──────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────┘ 関連情報 AWS CDK で Cost and Usage Reports 2.0 (CUR 2.0) エクスポートを設定する📝 k…
2024年の振り返り🎉 お仕事を楽しく頑張って貢献できた 2024年の年間目標として「お仕事を楽しく頑張って貢献する」を掲げていた.2023年4月からフリーランスのソフトウェアエンジニアになって,1年半以上活動しているけど,本当に毎日楽しく働けている👌 2024年からは大きく2つの案件に参画していて,1つは新規プロダクト開発の技術面をほぼ1人で担当していて,もう1つは歴史のある既存プロダクトと開発組織のモダン化を支援していた💪 アーキテクチャ設計・バックエンド開発・インフラ構…
…azon CloudWatch Amazon CloudWatch Logs Amazon SNS Amazon API Gateway AWS Step Functions Amazon DynamoDB Amazon DynamoDB Streams Amazon Transcribe Chapter.3 Chapter.4 Chapter.5 Chapter.6 Chapter.7 Chapter.8 まとめ 🐸 気になるな〜と思ってもらえたら「LocalStack 実…