

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 使用 Amazon EC2 的场景Amazon软件开发工具包
<a name="service_code_examples_scenarios"></a>

以下代码示例向您展示了如何使用Amazon软件开发工具包在 Amazon EC2 中实现常见场景。这些场景演示了如何通过调用 Amazon EC2 中的多个函数或与其他 Amazon Web Services 服务结合来完成特定任务。每个场景都包含完整源代码的链接，您可以在其中找到有关如何设置和运行代码的说明。

场景以中等水平的经验为目标，可帮助您结合具体环境了解服务操作。

**Topics**
+ [构建和管理弹性服务](example_cross_ResilientService_section.md)
+ [配置容器服务连接](example_ecs_ServiceConnect_085_section.md)
+ [创建基本的虚拟专用网络](example_vpc_GettingStartedCLI_section.md)
+ [为无服务器启动类型创建容器任务](example_ecs_GettingStarted_086_section.md)
+ [为虚拟机实例创建容器服务](example_ecs_GettingStarted_018_section.md)
+ [创建关系数据库实例](example_rds_GettingStarted_036_section.md)
+ [创建和管理服务网络网格](example_vpc_lattice_GettingStarted_055_section.md)
+ [创建和管理块存储卷](example_ec2_GettingStarted_020_section.md)
+ [开始使用专用网络连接](example_directconnect_GettingStarted_051_section.md)
+ [开始购买软件市场](example_ec2_GettingStarted_030_section.md)
+ [大数据处理集群入门](example_emr_GettingStarted_037_section.md)
+ [文档数据库入门](example_docdb_GettingStarted_025_section.md)
+ [图形数据库入门](example_ec2_GettingStarted_064_section.md)
+ [内存缓存入门](example_ec2_GettingStarted_065_section.md)
+ [负载平衡入门](example_elastic_load_balancing_v2_GettingStarted_058_section.md)
+ [Managed Streaming 入门](example_ec2_GettingStarted_057_section.md)
+ [网络传输网关入门](example_vpc_TransitGatewayGettingStarted_section.md)
+ [视频传输流媒体入门](example_mediaconnect_GettingStarted_081_section.md)
+ [虚拟机入门](example_ec2_GettingStarted_013_section.md)
+ [使用故障注入在虚拟机实例上运行 CPU 压力测试](example_iam_GettingStarted_069_section.md)
+ [具有 IP 地址管理功能的虚拟专用网络](example_vpc_GettingStartedIpam_section.md)
+ [带有私有服务器的虚拟专用网络](example_vpc_GettingStartedPrivate_section.md)
+ [使用块存储加密、快照和卷初始化](example_ec2_GettingStarted_022_section.md)
+ [使用网络对等连接](example_ec2_GettingStarted_015_section.md)