404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.149.253.148: ~ $
**Example 1: To copy a snapshot within the same AWS Region**

The following ``copy-snapshot`` example copies instance snapshot ``MEAN-1-1571075291`` as instance snapshot ``MEAN-1-Copy`` within the same AWS Region ``us-west-2``. ::

    aws lightsail copy-snapshot \
        --source-snapshot-name MEAN-1-1571075291 \
        --target-snapshot-name MEAN-1-Copy \
        --source-region us-west-2

Output::

    {
        "operations": [
            {
                "id": "ced16fc1-f401-4556-8d82-1EXAMPLEb982",
                "resourceName": "MEAN-1-Copy",
                "resourceType": "InstanceSnapshot",
                "createdAt": 1571075581.498,
                "location": {
                    "availabilityZone": "all",
                    "regionName": "us-west-2"
                },
                "isTerminal": false,
                "operationDetails": "us-west-2:MEAN-1-1571075291",
                "operationType": "CopySnapshot",
                "status": "Started",
                "statusChangedAt": 1571075581.498
            }
        ]
    }

For more information, see `Copying snapshots from one AWS Region to another in Amazon Lightsail <https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-copying-snapshots-from-one-region-to-another>`__ in the *Lightsail Dev Guide*.

**Example 2: To copy a snapshot from one AWS Region to another**

The following ``copy-snapshot`` example copies instance snapshot ``MEAN-1-1571075291`` as instance snapshot ``MEAN-1-1571075291-Copy`` from AWS Region ``us-west-2`` to ``us-east-1``. ::

    aws lightsail copy-snapshot \
        --source-snapshot-name MEAN-1-1571075291 \
        --target-snapshot-name MEAN-1-1571075291-Copy \
        --source-region us-west-2 \
        --region us-east-1

Output::

    {
        "operations": [
            {
                "id": "91116b79-119c-4451-b44a-dEXAMPLEd97b",
                "resourceName": "MEAN-1-1571075291-Copy",
                "resourceType": "InstanceSnapshot",
                "createdAt": 1571075695.069,
                "location": {
                    "availabilityZone": "all",
                    "regionName": "us-east-1"
                },
                "isTerminal": false,
                "operationDetails": "us-west-2:MEAN-1-1571075291",
                "operationType": "CopySnapshot",
                "status": "Started",
                "statusChangedAt": 1571075695.069
            }
        ]
    }

For more information, see `Copying snapshots from one AWS Region to another in Amazon Lightsail <https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-copying-snapshots-from-one-region-to-another>`__ in the *Lightsail Dev Guide*.

**Example 3: To copy an automatic snapshot within the same AWS Region**

The following ``copy-snapshot`` example copies automatic snapshot ``2019-10-14`` of instance ``WordPress-1`` as a manual snapshot ``WordPress-1-10142019`` in the AWS Region ``us-west-2``. ::

    aws lightsail copy-snapshot \
        --source-resource-name WordPress-1 \
        --restore-date 2019-10-14 \
        --target-snapshot-name WordPress-1-10142019 \
        --source-region us-west-2

Output::

    {
        "operations": [
            {
                "id": "be3e6754-cd1d-48e6-ad9f-2EXAMPLE1805",
                "resourceName": "WordPress-1-10142019",
                "resourceType": "InstanceSnapshot",
                "createdAt": 1571082412.311,
                "location": {
                    "availabilityZone": "all",
                    "regionName": "us-west-2"
                },
                "isTerminal": false,
                "operationDetails": "us-west-2:WordPress-1",
                "operationType": "CopySnapshot",
                "status": "Started",
                "statusChangedAt": 1571082412.311
            }
        ]
    }

For more information, see `Keeping automatic snapshots of instances or disks in Amazon Lightsail <https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots>`__ in the *Lightsail Dev Guide*.

**Example 4: To copy an automatic snapshot from one AWS Region to another**

The following ``copy-snapshot`` example copies automatic snapshot ``2019-10-14`` of instance ``WordPress-1`` as a manual snapshot ``WordPress-1-10142019`` from the AWS Region ``us-west-2`` to ``us-east-1``. ::

    aws lightsail copy-snapshot \
        --source-resource-name WordPress-1 \
        --restore-date 2019-10-14 \
        --target-snapshot-name WordPress-1-10142019 \
        --source-region us-west-2 \
        --region us-east-1

Output::

    {
        "operations": [
            {
                "id": "dffa128b-0b07-476e-b390-bEXAMPLE3775",
                "resourceName": "WordPress-1-10142019",
                "resourceType": "InstanceSnapshot",
                "createdAt": 1571082493.422,
                "location": {
                    "availabilityZone": "all",
                    "regionName": "us-east-1"
                },
                "isTerminal": false,
                "operationDetails": "us-west-2:WordPress-1",
                "operationType": "CopySnapshot",
                "status": "Started",
                "statusChangedAt": 1571082493.422
            }
        ]
    }

For more information, see `Keeping automatic snapshots of instances or disks in Amazon Lightsail <https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots>`__ in the *Lightsail Dev Guide*.

Filemanager

Name Type Size Permission Actions
allocate-static-ip.rst File 824 B 0644
attach-disk.rst File 1.55 KB 0644
attach-instances-to-load-balancer.rst File 3.98 KB 0644
attach-load-balancer-tls-certificate.rst File 1.64 KB 0644
attach-static-ip.rst File 1.46 KB 0644
close-instance-public-ports.rst File 864 B 0644
copy-snapshot.rst File 5.39 KB 0644
create-disk-from-snapshot.rst File 1.3 KB 0644
create-disk-snapshot.rst File 3.42 KB 0644
create-disk.rst File 917 B 0644
create-domain-entry.rst File 1.45 KB 0644
create-domain.rst File 1.31 KB 0644
create-instance-snapshot.rst File 1.54 KB 0644
create-instances-from-snapshot.rst File 1.21 KB 0644
create-instances.rst File 3.09 KB 0644
create-key-pair.rst File 2.78 KB 0644
create-load-balancer-tls-certificate.rst File 1.88 KB 0644
create-load-balancer.rst File 2.51 KB 0644
create-relational-database-from-snapshot.rst File 1.35 KB 0644
create-relational-database-snapshot.rst File 1.65 KB 0644
create-relational-database.rst File 1.31 KB 0644
delete-auto-snapshot.rst File 1.11 KB 0644
delete-disk-snapshot.rst File 851 B 0644
delete-disk.rst File 774 B 0644
delete-domain-entry.rst File 1.06 KB 0644
delete-domain.rst File 1011 B 0644
delete-instance-snapshot.rst File 842 B 0644
delete-instance.rst File 1.92 KB 0644
delete-key-pair.rst File 710 B 0644
delete-known-host-keys.rst File 1.1 KB 0644
delete-load-balancer-tls-certificate.rst File 1.52 KB 0644
delete-load-balancer.rst File 2.03 KB 0644
delete-relational-database-snapshot.rst File 949 B 0644
delete-relational-database.rst File 2.11 KB 0644
detach-static-ip.rst File 1.43 KB 0644
get-active-names.rst File 359 B 0644
get-auto-snapshots.rst File 1.34 KB 0644
get-blueprints.rst File 4.21 KB 0644
get-bundles.rst File 1.7 KB 0644
get-cloud-formation-stack-records.rst File 1.59 KB 0644
get-disk-snapshot.rst File 1.07 KB 0644
get-disk-snapshots.rst File 1.89 KB 0644
get-disk.rst File 1011 B 0644
get-disks.rst File 1.74 KB 0644
get-domain.rst File 2.46 KB 0644
get-domains.rst File 7.94 KB 0644
get-export-snapshot-record.rst File 3.6 KB 0644
get-instance-access-details.rst File 5.97 KB 0644
get-instance-metric-data.rst File 2.47 KB 0644
get-instance-port-states.rst File 775 B 0644
get-instance-snapshot.rst File 1.15 KB 0644
get-instance-snapshots.rst File 2.26 KB 0644
get-instance-state.rst File 325 B 0644
get-instance.rst File 2.86 KB 0644
get-instances.rst File 8.36 KB 0644
get-key-pair.rst File 756 B 0644
get-key-pairs.rst File 828 B 0644
get-load-balancer-tls-certificates.rst File 1.99 KB 0644
get-load-balancer.rst File 1.88 KB 0644
get-load-balancers.rst File 2.06 KB 0644
get-operation.rst File 766 B 0644
get-operations-for-resource.rst File 2.13 KB 0644
get-operations.rst File 2.02 KB 0644
get-regions.rst File 1.32 KB 0644
get-relational-database-blueprints.rst File 2.21 KB 0644
get-relational-database-bundles.rst File 3.71 KB 0644
get-relational-database-events.rst File 946 B 0644
get-relational-database-log-events.rst File 3.06 KB 0644
get-relational-database-log-streams.rst File 443 B 0644
get-relational-database-master-user-password.rst File 464 B 0644
get-relational-database-metric-data.rst File 2.05 KB 0644
get-relational-database-parameters.rst File 2.24 KB 0644
get-relational-database-snapshot.rst File 1.31 KB 0644
get-relational-database-snapshots.rst File 2.5 KB 0644
get-relational-database.rst File 1.74 KB 0644
get-relational-databases.rst File 3.57 KB 0644
get-static-ip.rst File 732 B 0644
get-static-ips.rst File 1.36 KB 0644
is-vpc-peered.rst File 336 B 0644
open-instance-public-ports.rst File 858 B 0644
peer-vpc.rst File 815 B 0644
reboot-instance.rst File 813 B 0644
reboot-relational-database.rst File 894 B 0644
release-static-ip.rst File 783 B 0644
start-instance.rst File 779 B 0644
start-relational-database.rst File 851 B 0644
stop-instance.rst File 770 B 0644
stop-relational-database.rst File 844 B 0644
unpeer-vpc.rst File 824 B 0644