Amazon Elastic Beanstalk

Least Privilege User

Navigate to the AWS console and create an IAM user with programmatic access. The user will need the following permissions. You can create a policy specifically for these permissions and apply the permissions to the user.

For more information, see: High Level AWS Source Configuration

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "elasticbeanstalk:DescribePlatformVersion",
                "elasticbeanstalk:DescribeEnvironmentManagedActionHistory",
                "elasticbeanstalk:DescribeConfigurationSettings",
                "cloudwatch:GetMetricStatistics",
                "cloudwatch:ListMetrics",
                "elasticbeanstalk:ListAvailableSolutionStacks",
                "elasticbeanstalk:ListPlatformVersions",
                "elasticbeanstalk:DescribeEnvironmentResources",
                "elasticbeanstalk:DescribeEnvironmentManagedActions",
                "elasticbeanstalk:RequestEnvironmentInfo",
                "elasticbeanstalk:DescribeEnvironments",
                "elasticbeanstalk:DescribeEvents",
                "elasticbeanstalk:DescribeConfigurationOptions",
                "elasticbeanstalk:DescribeInstancesHealth",
                "elasticbeanstalk:DescribeApplicationVersions",
                "elasticbeanstalk:DescribeEnvironmentHealth",
                "elasticbeanstalk:DescribeApplications",
                "elasticbeanstalk:RetrieveEnvironmentInfo",
                "ec2:Describe*",
                "elasticloadbalancing:Describe*",
                "autoscaling:Describe*",
                "cloudwatch:Describe*",
                "cloudwatch:List*",
                "cloudwatch:Get*",
                "s3:Get*",
                "s3:List*",
                "sns:Get*",
                "sns:List*",
                "rds:Describe*",
                "cloudformation:Describe*",
                "cloudformation:Get*",
                "cloudformation:List*"
            ],
            "Resource": "*"
        }
    ]
}

Connection Parameters

NameRequired?Description
Region
Access Key IDRequired
Secret Access KeyRequired
Additional ThreadsThe number of additional threads allowed to be utilized during collection.
Request Timeout (seconds)The number of seconds to allow for the API to return a response.
Collect CloudWatch Metrics
CloudWatch Historic ModeIf enabled, retrieves a history of data points from CloudWatch. Otherwise, collects only the most recent data point for each metric.
Collect Configuration Options

Metrics

Application

NameDescription
Configuration TemplatesThe names of the configuration templates associated with this application.
Date CreatedThe date when the application was created.
Date UpdatedThe date when the application was last modified.
DescriptionUser-defined description of the application.
NameThe name of the application.
RegionThe AWS Region this object belongs to.
VersionsThe names of the versions for this application.

Application Version

NameDescription
Date CreatedThe date when the application version was created.
Date UpdatedThe date when the application version was last modified.
DescriptionThe description of the application version.
LabelA unique identifier for the application version.
NameThe name of the application to which the application version belongs.
RegionThe AWS Region this object belongs to.
S3 BucketThe Amazon S3 bucket where the data is located.
S3 KeyThe Amazon S3 key where the data is located.
StatusThe processing status of the application version.

Configuration Option

NameDescription
Default ValueThe default value for this configuration option.
Environment NameThe name of the environment the configuration option is associated with.
NameThe name of the configuration option.
RegionThe AWS Region this object belongs to.
User DefinedAn indication of whether the user defined this configuration option.
Value OptionsValues for the configuration option are selected from this list.
Value TypeAn indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values.

Environment

NameDescription
Application 2xx Requests (Requests)The number of requests that completed with a 2XX status code.
Application 3xx Requests (Requests)The number of requests that completed with a 3XX status code.
Application 4xx Requests (Requests)The number of requests that completed with a 4XX status code.
Application 5xx Requests (Requests)The number of requests that completed with a 5XX status code.
Application NameThe Application of this Environment.
Application Requests Total (Requests)The number of requests completed by the environment.
Auto Scaling GroupsThe AutoScalingGroups used by this environment.
Causes of Health StatusDescriptions of the data that contributed to the environment's current health status.
ColorThe health color of the environment.
Degraded InstancesThe number of instances with Degraded health status.
Fastest 10% Application Latency (Seconds)The average time to complete the fastest 10 percent of requests.
Fastest 50% Application Latency (Seconds)The average time to complete the fastest 50 percent of requests.
Fastest 75% Application Latency (Seconds)The average time to complete the fastest 75 percent of requests.
Fastest 85% Application Latency (Seconds)The average time to complete the fastest 85 percent of requests.
Fastest 90% Application Latency (Seconds)The average time to complete the fastest 90 percent of requests.
Fastest 95% Application Latency (Seconds)The average time to complete the fastest 95 percent of requests.
Fastest 99% Application Latency (Seconds)The average time to complete the fastest 99 percent of requests.
Fastest 99.9% Application Latency (Seconds)The average time to complete the fastest 99.9 percent of requests.
HealthThe health status of the environment. The possible values are 0 (OK), 1 (Info), 5 (Unknown), 10 (No data), 15 (Warning), 20 (Degraded) and 25 (Severe).
Health StatusThe health status of the environment.
Info InstancesThe number of instances with Info health status.
InstancesThe Amazon EC2 instances used by this environment.
Instances with Degraded HealthRed. The health agent is reporting a high number of request failures or other issues for an instance or environment.
Instances with Info HealthGreen. An operation is in progress on an instance.
Instances with No Data HealthGrey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
Instances with Ok HealthGreen. An instance is passing health checks and the health agent is not reporting any problems.
Instances with Pending HealthGrey. An operation is in progress on an instance within the command timeout.
Instances with Severe HealthRed. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
Instances with Unknown HealthGrey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
Instances with Warning HealthYellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
Last Refresh DateThe date and time that the health information was retrieved.
Launch ConfigurationsThe Auto Scaling launch configurations in use by this environment.
Load BalancersThe LoadBalancers in use by this environment.
Metric Collection Time (Seconds)The amount of time that the application metrics cover.
NameThe name of the Environment.
No Data InstancesThe number of instances with no health status data.
OK InstancesThe number of instances with OK health status.
Operational StatusThe operational status of the environment.
Pending InstancesThe number of instances with Pending health status.
QueuesThe queues used by this environment.
RegionThe AWS Region this object belongs to.
Request Count (Requests per Second)The average number of requests handled by the web server per second.
Request Latency 10% (Milliseconds)The average latency for the slowest 90 percent of requests.
Request Latency 50% (Milliseconds)The average latency for the slowest 50 percent of requests.
Request Latency 75% (Milliseconds)The average latency for the slowest 25 percent of requests.
Request Latency 85% (Milliseconds)The average latency for the slowest 15 percent of requests.
Request Latency 90% (Milliseconds)The average latency for the slowest 10 percent of requests.
Request Latency 95% (Milliseconds)The average latency for the slowest 5 percent of requests.
Request Latency 99% (Milliseconds)The average latency for the slowest 1 percent of requests.
Request Latency 99.9% (Milliseconds)The average latency for the slowest 0.1 percent of requests.
Root File System Utilization (%)The percentage of disk space in use.
Severe InstancesThe number of instances with Severe health status.
Status Codes 2XX (%)The percentage of requests that resulted in a 2xx (200, 201, etc.) status code.
Status Codes 3XX (%)The percentage of requests that resulted in a 3xx (300, 301, etc.) status code.
Status Codes 4XX (%)The percentage of requests that resulted in a 4xx (400, 401, etc.) status code.
Status Codes 5XX (%)The percentage of requests that resulted in a 5xx (500, 501, etc.) status code.
TriggersThe AutoScaling triggers in use by this environment.
Unknown InstancesThe number of instances with Unknown health status.
Warning InstancesThe number of instances with Warning health status.

Instance

NameDescription
1 Minute Load Average (%)The average CPU load over the last minute.
5 Minute Load Average (%)The average CPU load over the last 5 minutes.
Application 2xx Requests (Requests)The number of requests that completed with a 2XX status code.
Application 3xx Requests (Requests)The number of requests that completed with a 3XX status code.
Application 4xx Requests (Requests)The number of requests that completed with a 4XX status code.
Application 5xx Requests (Requests)The number of requests that completed with a 5XX status code.
Application Requests Total (Requests)The number of requests completed by the instance.
Availability ZoneThe availability zone in which the instance runs.
Causes of Health StatusDescriptions of the data that contributed to the instance's current health status.
ColorThe health color of the instance.
Deployment IDThe ID of the deployment.
Deployment StatusThe status of the deployment.
Deployment TimeFor in-progress deployments, the time that the deployment started.
Deployment Version LabelThe version label of the application version in the deployment.
Environment NameThe name of the environment that the instance belongs to.
Fastest 10% Application Latency (Seconds)The average time to complete the fastest 10 percent of requests.
Fastest 50% Application Latency (Seconds)The average time to complete the fastest 50 percent of requests.
Fastest 75% Application Latency (Seconds)The average time to complete the fastest 75 percent of requests.
Fastest 85% Application Latency (Seconds)The average time to complete the fastest 85 percent of requests.
Fastest 90% Application Latency (Seconds)The average time to complete the fastest 90 percent of requests.
Fastest 95% Application Latency (Seconds)The average time to complete the fastest 95 percent of requests.
Fastest 99% Application Latency (Seconds)The average time to complete the fastest 99 percent of requests.
Fastest 99.9% Application Latency (Seconds)The average time to complete the fastest 99.9 percent of requests.
HealthThe health status of the instance.
Health StatusThe health status of the instance.
IDThe name of the instance.
Idle CPU (%)The percentage of time the CPU was in this state in the last minute.
Idle CPU Utilization (%)Percentage of time that the CPU has spent in the Idle state.
I/O Wait CPU Utilization (%)Percentage of time that the CPU has spent in the I/O Wait state.
I/O Wait CPU (%)The percentage of time the CPU was in this state in the last minute.
IRQ CPU (%)The percentage of time the CPU was in this state in the last minute.
IRQ CPU Utilization (%)Percentage of time that the CPU has spent in the IRQ state.
Nice CPU (%)The percentage of time the CPU was in this state in the last minute.
Nice CPU Utilization (%)Percentage of time that the CPU has spent in the Nice state.
RegionThe AWS Region this object belongs to.
Request Count (Requests per Second)The average number of requests handled by the web server per second.
Request Latency 10% (Milliseconds)The average latency for the slowest 90 percent of requests.
Request Latency 50% (Milliseconds)The average latency for the slowest 50 percent of requests.
Request Latency 75% (Milliseconds)The average latency for the slowest 25 percent of requests.
Request Latency 85% (Milliseconds)The average latency for the slowest 15 percent of requests.
Request Latency 90% (Milliseconds)The average latency for the slowest 10 percent of requests.
Request Latency 95% (Milliseconds)The average latency for the slowest 5 percent of requests.
Request Latency 99% (Milliseconds)The average latency for the slowest 1 percent of requests.
Request Latency 99.9% (Milliseconds)The average latency for the slowest 0.1 percent of requests.
Root File System Utilization (%)The percentage of disk space in use.
Soft IRQ CPU Utilization (%)Percentage of time that the CPU has spent in the Soft IRQ state.
Soft IRQ CPU (%)The percentage of time the CPU was in this state in the last minute.
Status Codes 2XX (%)The percentage of requests that resulted in a 2xx (200, 201, etc.) status code.
Status Codes 3XX (%)The percentage of requests that resulted in a 3xx (300, 301, etc.) status code.
Status Codes 4XX (%)The percentage of requests that resulted in a 4xx (400, 401, etc.) status code.
Status Codes 5XX (%)The percentage of requests that resulted in a 5xx (500, 501, etc.) status code.
System Average Load Last 15 Minutes (%)Load average in the last 15-minute period.
System Average Load Last 1 Minute (%)Load average in the last 1-minute period.
System Average Load Last 5 Minutes (%)Load average in the last 5-minute period.
System CPU (%)The percentage of time the CPU was in this state in the last minute.
System CPU Utilization (%)Percentage of time that the CPU has spent in the System state.
Time LaunchedThe time at which the EC2 instance was launched.
TypeThe instance's type.
User CPU (%)The percentage of time the CPU was in this state in the last minute.
User CPU Utilization (%)Percentage of time that the CPU has spent in the User state.