AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-04-19 · Documentation low

File: code-library/latest/ug/ec2_code_examples.md

Summary

Updated the list of scenario examples, replacing and adding multiple new example links, including examples for ECS, RDS, EBS, VPC Lattice, Direct Connect, Marketplace Buyer, DocumentDB, EC2, EMR, ElastiCache, MSK, Neptune, Transit Gateway, Elastic Load Balancing, MediaConnect, FIS, IPAM, and VPC peering.

Security assessment

This change updates the list of example scenarios for EC2. While some examples may involve security-related services (e.g., VPC, EBS encryption), the change itself does not add security documentation or address security vulnerabilities. It is a routine update to the example catalog to reflect new or renamed examples. No security-specific content is added or modified.

Diff

diff --git a/code-library/latest/ug/ec2_code_examples.md b/code-library/latest/ug/ec2_code_examples.md
index 2a6aa51e7..2db1101b2 100644
--- a//code-library/latest/ug/ec2_code_examples.md
+++ b//code-library/latest/ug/ec2_code_examples.md
@@ -420 +420 @@ _Scenarios_ are code examples that show you how to accomplish specific tasks by
-    * [Create a VPC with private subnets and NAT gateways](./ec2_example_vpc_GettingStartedPrivate_section.html)
+    * [Configure Amazon ECS Service Connect](./ec2_example_ecs_ServiceConnect_085_section.html)
@@ -422 +422 @@ _Scenarios_ are code examples that show you how to accomplish specific tasks by
-    * [Get started with Amazon VPC](./ec2_example_vpc_GettingStartedCLI_section.html)
+    * [Create a basic VPC](./ec2_example_vpc_GettingStartedCLI_section.html)
@@ -424 +424 @@ _Scenarios_ are code examples that show you how to accomplish specific tasks by
-    * [Get started with Transit Gateway](./ec2_example_vpc_TransitGatewayGettingStarted_section.html)
+    * [Create an Amazon ECS Linux task for the Fargate launch type](./ec2_example_ecs_GettingStarted_086_section.html)
@@ -426 +426,39 @@ _Scenarios_ are code examples that show you how to accomplish specific tasks by
-    * [Get started with VPC IPAM](./ec2_example_vpc_GettingStartedIpam_section.html)
+    * [Creating an Amazon ECS service for the EC2 launch type](./ec2_example_ecs_GettingStarted_018_section.html)
+
+    * [Creating an Amazon RDS DB instance](./ec2_example_rds_GettingStarted_036_section.html)
+
+    * [Creating and managing Amazon EBS volumes](./ec2_example_ec2_GettingStarted_020_section.html)
+
+    * [Creating and managing a VPC Lattice service network](./ec2_example_vpc_lattice_GettingStarted_055_section.html)
+
+    * [Get started with Aws Direct Connect](./ec2_example_directconnect_GettingStarted_051_section.html)
+
+    * [Get started with Marketplace Buyer](./ec2_example_ec2_GettingStarted_030_section.html)
+
+    * [Getting started with Amazon DocumentDB](./ec2_example_docdb_GettingStarted_025_section.html)
+
+    * [Getting started with Amazon EC2](./ec2_example_ec2_GettingStarted_013_section.html)
+
+    * [Getting started with Amazon EMR](./ec2_example_emr_GettingStarted_037_section.html)
+
+    * [Getting started with Amazon ElastiCache](./ec2_example_ec2_GettingStarted_065_section.html)
+
+    * [Getting started with Amazon MSK](./ec2_example_ec2_GettingStarted_057_section.html)
+
+    * [Getting started with Amazon Neptune](./ec2_example_ec2_GettingStarted_064_section.html)
+
+    * [Getting started with Amazon VPC Transit Gateway](./ec2_example_vpc_TransitGatewayGettingStarted_section.html)
+
+    * [Getting started with Elastic Load Balancing](./ec2_example_elastic_load_balancing_v2_GettingStarted_058_section.html)
+
+    * [Getting started with Elemental MediaConnect](./ec2_example_mediaconnect_GettingStarted_081_section.html)
+
+    * [Run CPU stress tests on EC2 instances using FIS](./ec2_example_iam_GettingStarted_069_section.html)
+
+    * [VPC with IPAM](./ec2_example_vpc_GettingStartedIpam_section.html)
+
+    * [VPC with private servers](./ec2_example_vpc_GettingStartedPrivate_section.html)
+
+    * [Working with Amazon EBS encryption, snapshots, and volume initialization](./ec2_example_ec2_GettingStarted_022_section.html)
+
+    * [Working with VPC peering connections](./ec2_example_ec2_GettingStarted_015_section.html)