

# Amazon Elastic Compute Cloud (Amazon EC2) in Amazon Web Services China
<a name="ec2"></a>

 Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It’s designed to make web-scale computing easier for developers. Amazon EC2 presents a true virtual computing environment, allowing you to use web service interfaces to launch instances with a variety of operating systems, load them with your custom application environment, manage your network’s access permissions, and run your image using as many or few systems as you want to.

## Region availability
<a name="feature-regions"></a>

 Amazon Elastic Compute Cloud is available in the following Regions in China:
+  China (Beijing) Region
+  China (Ningxia) Region

## How Amazon EC2 differs
<a name="feature-diff"></a>

The following differences apply to Amazon EC2:

### General differences
<a name="_general_differences"></a>
+ Starter accounts—For customers with an Internal Access Account, Amazon EC2 public Internet ports are blocked. Internal ports remain available. For more information, see [Signup, Accounts, and Credentials](https://docs.amazonaws.cn/aws/latest/userguide/accounts-and-credentials.html).

### Billing and purchasing differences
<a name="shared_billing_and_purchasing_differences"></a>
+ Reserved Instances:
  + Reserved Instance Marketplace is not available.
  + Standard Reserved Instances are not available in three-year terms.
  + Reserved Instance discount pricing tiers—For more information, see [Reserved Instance discount pricing tiers](https://docs.amazonaws.cn/AWSEC2/latest/UserGuide/concepts-reserved-instances-application.html#reserved-instances-discounts).


<table>
<thead>
  <tr><th>Total list value of Reserved Instances</th><th>Upfront discount</th><th>Hourly discount</th></tr>
</thead>
<tbody>
  <tr><td>Less than ¥3200000</td><td>0%</td><td>0%</td></tr>
  <tr><td>¥3200000 to ¥25000000</td><td>5%</td><td>5%</td></tr>
  <tr><td>¥25000000 to ¥64000000</td><td>10%</td><td>10%</td></tr>
  <tr><td>More than ¥64000000</td><td>Contact us</td><td>Contact us</td></tr>
</tbody>
</table>

+ Spot Instances:
  + Spot Instance requests—The **AWSServiceRoleForEC2Spot** service-linked role is not created for you automatically. Create a service-linked role with this name, using `spot.amazonaws.com` as the service name and **AWSEC2SpotServiceRolePolicy** as the policy.
  + Spot Instance data feed is not available.

### Fleet differences
<a name="_fleet_differences"></a>
+ EC2 Fleet can’t launch On-Demand Instances into targeted Capacity Reservations.

### Image differences
<a name="_image_differences"></a>
+ EC2 AMI Tools—The China (Beijing) and China (Ningxia) Regions use a non-default public key certificate to encrypt Amazon Machine Image (AMI) manifests. The `ec2-bundle-image`, `ec2-bundle-vol`, `ec2-migrate-bundle`, and `ec2-migrate-manifest` commands require the --ec2cert $EC2\_AMITOOL\_HOME/etc/ec2/amitools/cert-ec2-cn-north-1.pem option in the China (Beijing) Region, and the --ec2cert $EC2\_AMITOOL\_HOME/etc/ec2/amitools/cert-ec2-cn-northwest-1.pem option in the China (Ningxia) Region.
+ The `lastLaunchedTime` AMI attribute is not available.
+ Cross-region copy operations are supported only between the China (Beijing) and China (Ningxia) Regions.

### Instance differences
<a name="_instance_differences"></a>
+ Only some Amazon EC2 instance types are available. For lists of available instance types by Region, see [Amazon EC2 instance types by Region](https://docs.amazonaws.cn/ec2/latest/instancetypes/ec2-instance-regions.html).
+ Mac instances are not available.
+ On-Demand Instance hibernation is not available.
+  Amazon EC2 instance topology is not available.
+ Amazon Systems Manager for Microsoft System Center Virtual Machine Manager (SCVMM) is not available.
+  Systems Manager Automation—The `aws:copyImage` action is not available.
+ Amazon Nitro Enclaves is not available.
+ Credential Guard is not available.
+ Nested virtualization is not available.

### Networking differences
<a name="_networking_differences"></a>
+ Bring your own IP address ranges (BYOIP) is not available.
+ ENA Express is not available.
+ By default, enhanced networking is not enabled on Windows Server 2012 R2 AMIs. For more information, see [Enhanced networking on Amazon EC2 instances](https://docs.amazonaws.cn/AWSEC2/latest/UserGuide/enhanced-networking.html).

## How VM Import/Export differs
<a name="how-vm-import-export-differs-for-c2s"></a>

 VM Import/Export is different for China Regions in the following ways:
+ TPM and Secure Boot are not available.
+ VM Import:
  + Windows 11 is not available.
  + Windows Server 2022 is not available.
+ VM Export: The Amazon S3 bucket for the destination image must exist and must have `WRITE` and READ\_ACP permissions granted to the China (Beijing) Region account with the following canonical ID: 834bafd86b15b6ca71074df0fd1f93d234b9d5e848a2cb31f880c149003ce36f.

## Documentation
<a name="feature-guides"></a>
+  [Amazon Elastic Compute Cloud Documentation](https://docs.amazonaws.cn/ec2/) 