|« 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.
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.
If you want to, you can extend the number of parameters. For information about extending parameters, see Option_settings.
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 for Target runtime. 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.
For nonlegacy containers, 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 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"];
These settings can contain any printable ASCII character except the grave accent (`, ASCII 96) and cannot exceed 200 characters in length.