今日を知り、明日を変えるシステム運用メディア

Amazon ElastiCache は、EC2 と キャッシュ間の 1 クリック接続設定を サポートするようになりました

Amazon ElastiCache は、EC2 とキャッシュ間の 1 クリック接続設定をサポートするようになりました

本記事は、2025 年 1 月23 日にAWS公式サイトの What’s New with AWS? に掲載された英語記事を自動翻訳したものです。

ニュース内容

本日より、AWS マネジメントコンソールから Amazon ElastiCache クラスターを Amazon Elastic Compute Cloud (Amazon EC2) インスタンスに簡単に直接接続できるようになりました。AWS CloudShell を使用してキャッシュに接続し、追加の設定なしでコマンドを実行することもできます。

AWS が推奨するベストプラクティスに従って、1 回のクリックでキャッシュと EC2 インスタンス間の安全な接続を確立できます。ElastiCache は VPC、セキュリティグループ、ネットワーク設定を自動的に構成するため、サブネットやイングレス/エグレスルールの設定などの手動タスクが不要になります。これにより、新しいユーザーや開発者のプロセスが合理化され、数分以内にキャッシュインスタンスを起動してアプリケーションに接続できるようになります。

AWS CloudShell を使用してコンソールからキャッシュに接続することもできます。新しい [接続とセキュリティ] タブの [キャッシュに接続] ボタンをクリックするだけです。これにより、新しい AWS CloudShell セッションが開き、valkey-cli ツールを使用してキャッシュに接続します。接続すると、データの読み取り (GET など) やデータの書き込み (SET など) などの一般的な Valkey コマンドを実行できます。これにより、EC2 インスタンスから接続しなくても、コンソールで直接キャッシュ機能をテストできます。

Amazon ElastiCache ユーザーガイドで、ElastiCache クラスターからコンピューティング リソースへの接続を設定する方法の詳細を確認してください。

原文

Starting today, you can easily connect Amazon ElastiCache clusters to an Amazon Elastic Compute Cloud (Amazon EC2) instance directly from the AWS Management Console. You can also connect to your cache using AWS CloudShell to execute commands without additional setup.

With a single click, you can establish secure connectivity between your cache and an EC2 instance, following AWS recommended best practices. ElastiCache automatically configures VPCs, security groups, and network settings, eliminating the need for manual tasks like setting up subnets and ingress/egress rules. This streamlines the process for new users and developers, enabling them to launch a cache instance and connect it to an application within minutes.

You can also choose to connect to your cache from the Console using AWS CloudShell. Just click the “Connect to cache” button in the new “Connectivity and Security” tab. This will open a new AWS CloudShell session and connect to your cache using the valkey-cli tool. Once connected, you can execute common Valkey commands, including reading data (e.g. GET <key>) and writing data (e.g. SET <key> <value>). This lets you test cache functionality directly in the console, without needing to connect to it from an EC2 instance.

Learn more about setting up connectivity to a compute resource from your ElastiCache cluster in the Amazon ElastiCache user guide.

引用元:Amazon ElastiCache now supports 1-click connectivity setup between EC2 and your cache

人気の記事

最新情報をお届けします!

最新のITトレンドやセキュリティ対策の情報を、メルマガでいち早く受け取りませんか?ぜひご登録ください

メルマガ登録