AWS Knowledge Center

Here are some of the most frequent questions and requests that we receive from AWS customers. If you don't see what you need here, check out the AWS Documentation, visit the AWS Discussion Forums, or visit the AWS Support Center.

What AWS service can we help with?

AWS Activate

Amazon API Gateway

Amazon AppStream 2.0

AWS Artifact

Amazon Athena

AWS Auto Scaling

AWS Batch

AWS Certificate Manager

How can I resolve S3 bucket permission errors for configuring a Certificate Revocation List (CRL) with ACM Private CA?

I tried to delete my ACM certificate but received an error that it is in use with other AWS resources

How can I associate an ACM SSL/TLS certificate with a Classic, Application, or Network Load Balancer?  

Why is email validation no longer working for my domains with custom email addresses for issuing or renewing ACM certificates?

Why did my ACM certificate fail automatic renewal?

Can I pin an application that is running on AWS to a certificate that was issued by AWS Certificate Manager (ACM)?

I requested a new AWS Certificate Manager (ACM) certificate and validated my domain names, but the status is still pending validation

Why can't I find my imported certificate for my load balancer or CloudFront distribution?

How can I add certificates for multiple websites to the ELB using Amazon certificate manager?

How does the ACM managed renewal process work with email-validated certificates that use wildcards and subdomains?

How do I install SSL/TLS certificates on Amazon CloudFront?

Why can't I import a third-party public SSL/TLS certificate into AWS Certificate Manager (ACM)?

Why can't I resend the validation email from AWS Certificate Manager (ACM) when renewing a certificate?

How do I configure a load balancer in an AWS Elastic Beanstalk environment to use an SSL certificate?

Clients are receiving certificate error messages when trying to access my website using HTTPS connections. How do I resolve this?

I validated my domain names using the AWS Certificate Manager (ACM) managed renewal process, but the status is still pending validation.

How can I receive the validation email to verify my domain for AWS Certificate Manager (ACM)?

I didn't receive a validation email for the SSL certificate I requested through AWS Certificate Manager   

Amazon Chime

AWS Cloud9

AWS CloudFormation

How can I tag a root volume from an instance created by AWS CloudFormation?

How do I resolve the "Custom Named Resource already exists in stack" error in AWS CloudFormation?

How can I get my AWS CloudFormation stack to update if it's stuck in the UPDATE_ROLLBACK_FAILED state?

How do I enable special parameters in an AWS Glue job using AWS CloudFormation?

How do I trigger rolling updates when there are no changes to the launch configuration in AWS CloudFormation?

How do I resolve the "Server.InternalError: Internal error on launch" error for a failed stack in AWS CloudFormation?

How can I resolve the "Export EXPORT_NAME cannot be updated as it is in use by STACK_NAME" error?

How do I add routes to the main route table in my VPC with AWS CloudFormation?

How do I troubleshoot an AWS Lambda-backed custom resource that's stuck in DELETE_FAILED status or DELETE_IN_PROGRESS status with AWS CloudFormation?

How do I troubleshoot an AWS CloudFormation stack that's in DELETE_FAILED status?

How do I prevent my AWS CloudFormation stack from rolling back on failure?

How do I stop and start my instances using the AWS Instance Scheduler?

How do I resolve the AWS CloudFormation error "Failed to receive X resource signal(s) within the specified duration"?

How can I install AWS CloudFormation helper scripts on Ubuntu 16.04 LTS or RHEL 7 AMIs?

How can I reference a resource in another stack from an AWS CloudFormation template?

How do I retain some of my resources when I delete an AWS CloudFormation stack?

How can I avoid circular dependency when deploying a Lambda function with CloudFormation?

How can I receive an email alert when my AWS CloudFormation stack is in the ROLLBACK_IN_PROGRESS state?

What are some best practices for implementing AWS Lambda-backed custom resources with AWS CloudFormation?

How do I use multiple values for individual parameters in a CloudFormation template?

How do I resolve AWS CloudFormation template validation errors or template format errors?

How do I prevent the resources in my AWS CloudFormation stack from getting deleted or updated?

How do I stop my Amazon EC2 Windows instance from signaling back as CREATE_COMPLETE before it finishes bootstrapping?

How do I update an AWS CloudFormation stack that's failing because of a resource that I manually deleted?

How do I avoid the error "Unable to validate the following destination configurations" when using S3 event notifications in AWS CloudFormation?

How can I make sure that my Auto Scaling group is updated the right way during an AWS CloudFormation stack update?

How can I subscribe an AWS Lambda function to a push-based event source in AWS CloudFormation?

How do I create a subscription between my Amazon SQS queue and an Amazon SNS topic in AWS CloudFormation?

When I try to create a CMK using AWS CloudFormation, I get the error message "The new key policy will not allow you to update the key policy in the future"

How do I resolve the AWS CloudFormation error "Unable to assume role and validate the listeners configured on your load balancer" when I launch an Amazon ECS resource?

How do I resolve the “Route did not stabilize in expected time” error in AWS CloudFormation?

How do I resolve the CloudFormer error “No default VPC found for this user”?

How do I resolve the AWS CloudFormation error "Cannot update a stack when a custom-named resource requires replacing"?

How do I resolve the “VpcPeeringConnection failed to stabilize” error in AWS CloudFormation?

How do I use Amazon ECS service discovery in AWS CloudFormation?

How can I stop my Amazon ECS service from failing to stabilize in AWS CloudFormation?

How can I attach an IAM managed policy to an IAM role in AWS CloudFormation?

How can I resolve the "DBInstance xxxxxx failed to stabilize" error when I create an RDS DB instance using AWS CloudFormation?

How can I create an Amazon S3 notification configuration for Lambda on an existing Amazon S3 bucket using AWS CloudFormation?

Amazon CloudFront

How do I know if I'm using an older CloudFront API version?

How do I resolve the "InvalidViewerCertificate" error exception while creating or updating a CloudFront distribution?

How do I allow access to an Amazon S3 bucket only from a CloudFront distribution?

I can use my application from a custom origin (EC2 instance or load balancer), but it fails on CloudFront. Why?

Why isn't CloudFront following a cache behavior that I created?

How do I reduce the latency of requests that receive the response "X-Cache:Miss from cloudfront"?

Why is CloudFront serving outdated content from Amazon S3?

How do I resolve the error "The request could not be satisfied. Request Blocked." from Amazon CloudFront?

How do I use CloudFront to serve a static website hosted on Amazon S3?

Why can't I use my custom SSL certificate for my CloudFront distribution?

Should I use CloudFront to serve my website content?

How do I resolve the error "The request could not be satisfied. Bad Request" from Amazon CloudFront?

How do I prevent CloudFront from caching certain files?

How do I resolve the error "CloudFront wasn't able to connect to the origin"?

I set custom object caching on my CloudFront distribution. Why is my distribution using the cache settings of my origin?

The HTTP connection between my CloudFront distribution and load balancer works, but the HTTPS connection fails. Why?

I’m using an S3 REST API endpoint as the origin of my CloudFront distribution. Why am I getting 403 Access Denied errors?

I’m using an S3 website endpoint as the origin of my CloudFront distribution. Why am I getting 403 Access Denied errors?

How do I resolve the "No 'Access-Control-Allow-Origin' header is present on the requested resource" error from CloudFront?

I renewed my Amazon-issued SSL certificate or reimported my certificate to ACM. Why does CloudFront still show the old certificate?

How can I serve multiple domains from a CloudFront distribution over HTTPS?

How do I resolve HTTP 504 (Gateway Timeout) errors from CloudFront?

How do I configure Amazon CloudFront to forward host headers to the origin?

Can I use a single CloudFront web distribution to serve content from multiple origins using multiple behaviors?

Why isn't CloudFront serving my domain name over HTTPS?

Why is my CloudFront distribution returning an “X-Cache:Miss from CloudFront” error?

Can I migrate a CloudFront distribution to another AWS account?

Why isn't CloudFront returning my default root object from a subdirectory?

Why doesn't Amazon CloudFront cache files in the amount of time I specified?

How do I migrate my SSL certificate to the US East (N. Virginia) region?

How do I use CloudFront to serve HTTPS requests for my Amazon S3 bucket?

Can I associate multiple SSL certificates with my CloudFront distribution?

How do I process CloudFront logs with Amazon ES?

How can I restrict users in certain locations from accessing web content served by my CloudFront distribution?

How do I resolve the error CNAMEAlreadyExists when setting up a CNAME alias for my Amazon CloudFront Distribution?

How do I troubleshoot issues with my CloudFront distribution's connection to a custom origin over HTTPS?

What information should I give AWS Support for diagnosing CloudFront web distribution latency issues?

AWS CloudHSM

Amazon CloudWatch

How can I set up a CloudWatch alarm to automatically recover my EC2 instance?

How do I upload my Windows logs to CloudWatch?

Which Log Group is causing a sudden increase in my CloudWatch Logs bill?

How can I receive notifications for scheduled events for my EC2 instance using CloudWatch Events?

How do I retrieve log data from CloudWatch Logs?

How do I avoid throttling when I call PutMetricData in the CloudWatch API?

How do I monitor automatic recovery of my EC2 instances using CloudWatch alarms and SNS?

Why did my CloudWatch alarm trigger when its metric doesn't have any breaching data points?

Why can’t I push log data to CloudWatch Logs with the awslogs agent?

How do I push Docker container logs to CloudWatch Logs through a proxy?

How can I be sure that CloudWatch alarms trigger actions?

How do I stream log data from CloudWatch Logs to a cross-Region and cross-account Kinesis data stream?

How do I set up scheduled EBS volume snapshots using Amazon CloudWatch?

How do I push custom metrics to CloudWatch?

Should I use GetMetricData or GetMetricStatistics for CloudWatch metrics?

Why isn't my CloudWatch GetMetricStatistics API call returning data points?

How can I use Amazon CloudWatch metrics to identify NAT gateway bandwidth issues?

How do I troubleshoot credential issues while pushing CloudWatch metrics from an EC2 Windows instance using EC2Config?

I am unable to send custom Cloudwatch metrics from an EC2 Windows instance using the EC2Config service. How do I resolve this issue?

Why did my CloudWatch alarm send me a notification after a single breached data point?

I configured Amazon CloudWatch to export log data to Amazon S3 but the log data is either missing or invalid. How do I resolve this issue?

Why is the option "Recover this instance" disabled when creating an alarm in the EC2 console?

AWS CodeDeploy

AWS CodePipeline

Amazon Cognito

AWS Config

Amazon Connect

AWS Database Migration Service (AWS DMS)

AWS Data Pipeline

AWS Device Farm

AWS Direct Connect

How do I configure routing for my Direct Connect private virtual interface?

How do I migrate my network traffic from a Direct Connect virtual interface associated with a virtual private gateway to a Direct Connect gateway?

How can I set up a Direct Connect gateway?

How can I get notifications for AWS Direct Connect scheduled maintenance or events?

How can I control the routes advertised and received over the AWS public virtual interface with Direct Connect?

How can I troubleshoot BGP connection issues over Direct Connect?

How do I connect my private network to AWS public services using an AWS Direct Connect public VIF?

How can I migrate virtual interfaces to Direct Connect connections or LAG bundles?

How do I increase bandwidth for active traffic on Direct Connect using a link aggregation group with minimal downtime?

My public virtual interface is stuck in the "verifying" state. What can I do?

My virtual interface BGP status is down in the AWS console. What should I do?

How do I provision a new link aggregation group (LAG) using AWS Direct Connect connections?

My Direct Connect connection state is shown as 'down' in the console. What should I do?

How do I set an Active/Passive Direct Connect connection to AWS?

What are the differences between public virtual interfaces and private virtual interfaces for AWS Direct Connect?

How should I prepare for maintenance on my Direct Connect connection?

How do I enable BFD for my DX connection?

How do I establish an AWS VPN over an AWS Direct Connect connection?

What’s the difference between a hosted virtual interface (VIF) and a hosted connection?

How do I provision an AWS Direct Connect connection?

How do I move a DX connection from one AWS account to another?  

AWS Directory Service

Amazon DynamoDB

AWS Educate

AWS Elastic Beanstalk

Amazon Elastic Block Store (Amazon EBS)

I've deleted snapshots of my EBS volume, and then I deleted the volume. Why aren't my data storage costs lower?

How can I prevent my EBS volumes from being deleted when I terminate my EC2 instances?

How do I use CloudTrail to search for actions on a specific resource, such as who deleted an EBS volume on an EC2 instance?

How do I extend my Linux file system after increasing my EBS volume on my EC2 instance?

How can I list EBS volume or snapshot information for my EC2 instance by using the AWS CLI?

How can I obtain metrics from Amazon CloudWatch that show the EBS throughput of my EC2 instance, and then set up an alarm that notifies me when the EC2 instance reaches the throughput limit?

Trusted Advisor shows that my EBS Active Volumes is reaching the service limit. How do I increase the limit?

How can I share an encrypted Amazon EBS volume with another AWS account?

How do I expand the EBS root volume of my EC2 Linux instance?

How do I expand the Amazon EBS root volume of my Amazon EC2 Windows instance?

How do I create an unencrypted volume from a volume that was encrypted using a default AWS Key Management Service (KMS) customer master key (CMK)?

Amazon Elastic Block Store snapshots show no progress, or I receive the error "ConcurrentSnapshotLimitExceeded". How can I resolve this?

When attempting to delete an EBS snapshot, I receive an error stating "The snapshot is currently in use by an AMI"

My EBS volume has a status of "error"

My EBS volume is stuck in the "attaching" state

How do I optimize the performance of my Amazon EBS volumes?

How do I optimize the performance of my Amazon EBS Provisioned IOPS volumes?

How do I create a snapshot of an Amazon EBS RAID array?

Amazon Elastic Compute Cloud (Amazon EC2)

How do I automate the creation of AMIs based on my EBS-backed EC2 instance using Systems Manager Automation? 

How do I remove a terminated EC2 instance from my Auto Scaling group?

My EC2 instance in a private subnet can't connect to the Internet using a NAT gateway  

How do I create VPC endpoints so that I can use Systems Manager to manage private EC2 instances without internet access?

How do I resolve the error "The address with allocation id cannot be released because it is locked to your account" when trying to release an Elastic IP address from my Amazon EC2 instance?

How do I allow a domain user to access the SQL Server instance on an EC2 instance?

How can I get customized email notifications when my EC2 instance changes states?

Why did the CPU credit balance for my Amazon EC2 T2 instance suddenly drop?

How do I assign a custom primary private IP address to my Amazon EC2 instance?

How do I move my EC2 instance to another subnet, Availability Zone, or VPC?

How do I convert a .pem file into a .ppk, and vice versa, on Windows and Linux?

How can I log into my Amazon EC2 instance if I receive an error that the server refused our key?

How do I delete or terminate EC2 resources?

I’ve created an IAM role, and now I want to assign it to an EC2 instance

My Spot instance was terminated. Can I recover it?

How can I configure my EC2 Spot Instances so that the root EBS volume won’t be deleted when I terminate the instance?

How can I prevent my EBS volumes from being deleted when I terminate my EC2 instances?

How do I enable and configure enhanced networking on my EC2 instances?

How do I launch an EC2 instance from a custom Amazon Machine Image (AMI)?

How do I restore or recover a terminated EC2 instance?

How do I back up an instance store volume on my Amazon EC2 instance to Amazon EBS?

How do I migrate a Dedicated Host or Dedicated Instance to another Dedicated Host?

How do I create an AMI that is based on my EBS-backed EC2 instance?

How do I create and copy an Amazon Machine Image (AMI) from one AWS Region to another?

What are Elastic IP addresses, and how do I use them?

How do I configure a secondary private IP address for my Amazon EC2 instance?

How do I create an EBS volume from a snapshot?

How do I use AWS VM Import/Export to create an EC2 instance based on my on-premises server?

What's the difference between instance store and EBS?

How do I share an Amazon Machine Image (AMI) privately with another AWS account?

How do I protect my data against accidental EC2 instance termination?

How do I resolve the error ‘The security token included in the request is expired’ when running Java applications on Amazon EC2?

How do I stop and start Amazon EC2 instances at regular intervals using Lambda?

What should I do if my EC2 instance is no longer responding?

How do I transfer an Amazon EC2 instance to a different AWS account?

Why can't I find an EC2 instance on my account?

An instance I terminated appears to have re-launched

How do I remove the throttle on port 25 from my EC2 instance?

My instance is unreachable, and is failing one or both of its status checks

I want to migrate instances between my local virtualization environment and Amazon EC2

How can I use user data to replace a lost SSH key pair after the initial launch of my Amazon EC2 instance?

My Amazon EC2 instance is scheduled for retirement. What do I need to know?

EC2 Linux

How do I get more CPU and memory for my EC2 Linux instance? 

How do I install and enable the latest ENA driver for Enhanced Network Support on an Amazon EC2 instance running Red Hat 6/7?

What happens during an EC2 scheduled maintenance event and what preventative actions can I take?

How do I create an isolated Python 3 environment with Boto 3 with an Amazon EC2 instance that's running Amazon Linux 2 using virtualenv?

How do I create an isolated Python 3.4 environment with Boto 3 with an Amazon EC2 instance that's running Amazon Linux using virtualenv?

The vip_monitor.sh script fails when attempting to implement a virtual IP address failover solution on my Ubuntu 16.04 system

How do I revert to a known stable kernel after an update prevents my EC2 instance from rebooting successfully?

How can I log my EC2 Linux user-data and then ship it to the console logs?

How can I make my secondary network interface work in my Ubuntu EC2 instance?

How do I allocate memory to work as swap space in an Amazon EC2 instance by using a swap file?

How do I allocate memory to work as swap space on an Amazon EC2 instance using a partition on my hard drive?

How do I add a second Elastic IP address to an elastic network interface attached to my EC2 instance running CentOS or RHEL?

How do I enable a password login instead of a key pair when logging into my EC2 instance using SSH?

How do I manage the clock source for EC2 instances running Linux?

How do I install Systems Manager Agent (SSM Agent) on an Amazon EC2 Linux instance at launch?

Why is my Linux instance not booting after I changed its type to C5 or M5?

How can I improve the CPU performance of my Amazon EC2 Linux instances?

How do I add new user accounts with SSH access to my Amazon EC2 Linux instance?

How can I be sure that I am using the correct user name and private key when I use SSH to connect to an Amazon EC2 Linux instance?

How can I give a user permissions to connect to my EC2 Linux instance using SSH?

How do I troubleshoot problems connecting to my Amazon EC2 Linux instance using SSH?

How do I recover access to my EC2 instances if I've lost my SSH key pair?

How do I assign a static DNS server to a private Amazon EC2 instance running Amazon Linux, Ubuntu, or RHEL that persists during reboot?

How can I avoid DNS resolution failures with EC2 Linux?

How do I assign a static hostname to a private Amazon EC2 instance running Ubuntu Linux?

How do I assign a static hostname to a private Amazon EC2 instance running RHEL 5 or 6, Centos 5 or 6, or Amazon Linux?

How do I assign a static hostname to a private Amazon EC2 instance running RHEL 7 or Centos 7?

How do I assign a static hostname to a private Amazon EC2 instance running SUSE Linux?

Why won't the Elastic Network Adapter work on an EC2 instance that's running SLES 12 SP1?

How do I enable the EPEL repository for my Amazon EC2 instance running Centos, RHEL, or Amazon Linux?

How do I set or change the root password for my EC2 Linux instance?

How can I create and connect to an Amazon Linux EC2 instance?

How can I execute user data to automatically create a file with every restart of my Amazon EC2 instance?

How do I benchmark network throughput between Amazon EC2 Linux instances in the same VPC?

How do I tune memory allocation for an Apache web server running on an Amazon EC2 Linux instance?

Why does my R4 EC2 instance running RHEL 7 show less RAM than was allocated by Xen?

EC2 Windows

How do I get more CPU and memory for my EC2 Windows instance? 

How do I diagnose high CPU utilization on an EC2 Windows instance?

How can I find out if the CPU on my T2 or T3 EC2 Windows instance is being throttled?

How can I resolve high CPU utilization on my T2 or T3 EC2 Windows instance if my CPU is being throttled?

How do I diagnose high CPU utilization on my EC2 Windows instance when my CPU is not being throttled?

How do I create a SQL Server Always On availability group cluster in the AWS Cloud?

How do I configure an EC2 Windows instance to allow file downloads using Internet Explorer?

How can I use Sysprep to create and install custom reusable Windows AMIs?

How do I attach and use an elastic GPU with my Windows EC2 instance?

How can I troubleshoot issues with my EC2 Windows instance by using the EC2Rescue tool?

How can I upgrade my EC2 Windows Server instance OS to a newer version?

How can I restore a corrupt registry on my EC2 Windows instance?

Why can't I see my secondary volumes when I launch a new EC2 Windows Server 2016 instance?

Do I need to set a static IP address for a Windows EC2 instance?

When I try to connect to an EC2 Windows instance with more than 2 concurrent RDP client sessions, I receive an error message. How can I resolve this?

How do I publicly host my website on an EC2 Windows instance using IIS?

How do I host multiple public websites using IIS on the same EC2 Windows Server instance?

How do I upgrade the PV drivers for my Amazon EC2 instance that is running Windows?

How do I troubleshoot Remote Desktop connection issues to my Amazon EC2 Windows instance?

How can I replace corrupt or missing network drivers on my EC2 Windows instance?

How do I install .NET Framework 3.5 on an EC2 Windows instance that doesn't have internet access?

How do I create an Amazon Machine Image (AMI) from an EBS-backed Windows instance?

How do I attach an EBS volume to a running Windows EC2 instance?

How do I retrieve my Windows administrator password after launching an instance?

I accidentally disabled network connectivity to my EC2 instance running Windows-- how do I fix it?

How do I upgrade the EC2Config service on an EC2 instance running Windows?

How do I manually install the AWS CLI on Windows?

How can I improve networking performance in EC2 Windows instances and follow best practices?

How do I capture a screenshot of an unreachable Amazon EC2 Windows instance for troubleshooting?

How do I launch a Windows instance that will be covered under the Free Tier promotion?

How do I resolve time synchronization issues with EC2 Windows instances that can cause network connectivity issues?

How do I benchmark network throughput on an Amazon EC2 Windows instance?

How can I reset the administrator password on a Windows Server instance in Amazon EC2?

Windows activation failed on my Microsoft Windows Server instance in Amazon EC2

Why does my Amazon EC2 Windows instance generate a "Waiting for the metadata service" error?

Amazon Elastic Container Service (Amazon ECS)

How do I use time-based scaling in Amazon ECS?

How can I avoid putting tasks on Amazon ECS container instances that do not have enough disk space?

How does Amazon ECS allocate memory to tasks?

How can I create an Application Load Balancer and register ECS tasks automatically?

How do I set up dynamic port mapping for Amazon ECS?

How do I increase the default 10-GiB storage limit with Docker container volumes for Amazon ECS?

How do I set up an HTTP proxy for Docker and the Amazon ECS agent in Enterprise Linux?

How do I enable Docker debug mode with user data when I boot AMIs optimized for Amazon ECS?

How do I troubleshoot unhealthy Application Load Balancer health checks in Amazon ECS?

How do I enable automated Docker container and image cleanup in Amazon ECS?

How do I collect logs from my Amazon ECS container instance automatically?

Why are my Amazon ECS container instances with Amazon Linux 1 AMIs disconnected?

How can I grant access to a secondary account to pull or push images in my ECR repository?

How can I update my private repository credentials on an Amazon ECS container agent?

Why is the Amazon ECS container instance that I terminated still registered with its cluster?

How can I create a Docker volume using Amazon EFS in Amazon ECS?

How do I resolve the "[AWS service] was unable to place a task because no container instance met all of its requirements" error in Amazon ECS?

How do I resolve "the closest matching container-instance container-instance-id has insufficient CPU units available" error in Amazon ECS?

How do I resolve "the closest matching container-instance container-instance-id encountered error 'AGENT'" error for my service in Amazon ECS?

How do I troubleshoot my container logs for Amazon ECS or Amazon EKS?

How can I allow the tasks in my Amazon ECS services to communicate with each other?

How do I launch Amazon ECS-optimized AMIs?

How can I get my AWS::ECS::Service resources out of UPDATE_IN_PROGRESS or UPDATE_ROLLBACK_IN_PROGRESS status?

How can I configure IAM task roles in Amazon ECS to avoid "Access Denied" errors?

How can I resolve the Amazon ECR error "CannotPullContainerError: API error" in Amazon ECS?

How do I create or update a lifecycle policy rule in Amazon ECR for Amazon ECS?

How do I change my container instance type in Amazon ECS?

Why are my Amazon ECS container instances with Amazon Linux 2 AMIs disconnected?

How do I allow Amazon ECS tasks to pull images from an Amazon ECR image repository?

How do I resolve the "Image does not exist" error when my tasks fail to start in my Amazon ECS cluster?

How do I troubleshoot issues with containers exiting in my Amazon ECS tasks?

How can I pass secrets or sensitive information securely to containers in an Amazon ECS task?

How can I get my Amazon ECS container instance to register with my cluster in a private subnet?

How do I connect my Amazon RDS database to my Amazon ECS tasks? 

Amazon Elastic Container Service for Kubernetes (Amazon EKS)