1**To create an endpoint group**
2
3The following ``create-endpoint-group`` example creates an endpoint group with one endpoint. ::
4
5    aws globalaccelerator create-endpoint-group \
6        --listener-arn arn:aws:globalaccelerator::012345678901:accelerator/1234abcd-abcd-1234-abcd-1234abcdefgh/listener/0123vxyz \
7        --endpoint-group-region us-east-1 \
8        --endpoint-configurations EndpointId=i-1234567890abcdef0,Weight=128
9
10Output::
11
12    {
13        "EndpointGroup": {
14            "TrafficDialPercentage": 100.0,
15            "EndpointDescriptions": [
16                {
17                    "Weight": 128,
18                    "EndpointId": "i-1234567890abcdef0"
19                }
20            ],
21            "EndpointGroupArn": "arn:aws:globalaccelerator::012345678901:accelerator/1234abcd-abcd-1234-abcd-1234abcdefgh/listener/0123vxyz/endpoint-group/098765zyxwvu",
22            "EndpointGroupRegion": "us-east-1"
23        }
24    }
25
26For more information, see `Endpoint groups in AWS Global Accelerator <https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups.html>`__ in the *AWS Global Accelerator Developer Guide*.
27