| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
The Container/.NET Options panel lets you fine-tune the behavior of your Amazon EC2 instances and enable or disable Amazon S3 log rotation. You can use the AWS Toolkit for Visual Studio to configure your container information.
Note
You can modify your configuration settings with zero downtime by swapping the CNAME for your environments. For more information, see Deploying Versions with Zero Downtime.
To access the Container/.NET Options panel for your AWS Elastic Beanstalk application
In AWS Toolkit for Visual Studio, expand the AWS Elastic Beanstalk node and your application node.
In AWS Explorer, double-click your AWS Elastic Beanstalk environment.
At the bottom of the Overview pane, click the Configuration tab.
Under Container, you can configure container options.

You can choose the version of .NET Framework for your application. Choose either 2.0 or 4.0 in the Target runtime drop-down menu. Select Enable 32-bit Applications if you want to enable 32-bit applications.
This section of the Container panel lets you specify application settings. These settings enable greater portability by eliminating the need to recompile your source code as you move between environments.

You can configure the following application settings:
Specify AWS credentials using the AWS_ACCESS_KEY_ID and AWS_SECRET_KEY text boxes.
Note
For non-legacy containers, you can use instance profiles so that your application can use temporary security credentials to access AWS resources. To learn more, see Granting Permissions to Users and Services Using IAM Roles.
Specify up to five additional key-value pairs by entering them in the PARAM text boxes.
You might have a code snippet that looks similar to the following to access the keys and parameters:
NameValueCollection appConfig = ConfigurationManager.AppSettings; string param1 = appConfig["PARAM1"];
Note
These settings can contain any printable ASCII character except the grave accent (`, ASCII 96) and cannot exceed 200 characters in length.