
com.amazonaws.services.elasticloadbalancingv2.package-info Maven / Gradle / Ivy
Show all versions of aws-java-sdk-elasticloadbalancingv2 Show documentation
/*
* Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/**
* Elastic Load Balancing
*
* A load balancer distributes incoming traffic across targets, such as your EC2
* instances. This enables you to increase the availability of your application.
* The load balancer also monitors the health of its registered targets and
* ensures that it routes traffic only to healthy targets. You configure your
* load balancer to accept incoming traffic by specifying one or more listeners,
* which are configured with a protocol and port number for connections from
* clients to the load balancer. You configure a target group with a protocol
* and port number for connections from the load balancer to the targets, and
* with health check settings to be used when checking the health status of the
* targets.
*
*
* Elastic Load Balancing supports two types of load balancers: Classic load
* balancers and Application load balancers (new). A Classic load balancer makes
* routing and load balancing decisions either at the transport layer (TCP/SSL)
* or the application layer (HTTP/HTTPS), and supports either EC2-Classic or a
* VPC. An Application load balancer makes routing and load balancing decisions
* at the application layer (HTTP/HTTPS), supports path-based routing, and can
* route requests to one or more ports on each EC2 instance or container
* instance in your virtual private cloud (VPC). For more information, see the
*
* Elastic Load Balancing User Guide.
*
*
* This reference covers the 2015-12-01 API, which supports Application load
* balancers. The 2012-06-01 API supports Classic load balancers.
*
*
* To get started with an Application load balancer, complete the following
* tasks:
*
*
* -
*
* Create a load balancer using CreateLoadBalancer.
*
*
* -
*
* Create a target group using CreateTargetGroup.
*
*
* -
*
* Register targets for the target group using RegisterTargets.
*
*
* -
*
* Create one or more listeners for your load balancer using
* CreateListener.
*
*
* -
*
* (Optional) Create one or more rules for content routing based on URL using
* CreateRule.
*
*
*
*
* To delete an Application load balancer and its related resources, complete
* the following tasks:
*
*
* -
*
* Delete the load balancer using DeleteLoadBalancer.
*
*
* -
*
* Delete the target group using DeleteTargetGroup.
*
*
*
*
* All Elastic Load Balancing operations are idempotent, which means that they
* complete at most one time. If you repeat an operation, it succeeds.
*
*/
package com.amazonaws.services.elasticloadbalancingv2;