AWS AWSEC2 documentation change
Summary
Updated documentation on using Amazon S3 with EC2 instances, including changes to command descriptions, removal of redundant information, and addition of specific command links
Security assessment
The changes are primarily focused on improving clarity and adding specific command references, with no mention of security vulnerabilities or new security features
Diff
diff --git a/AWSEC2/latest/UserGuide/AmazonS3.md index 39afbe6ff..f2a51a416 100644 --- a/AWSEC2/latest/UserGuide/AmazonS3.md +++ b/AWSEC2/latest/UserGuide/AmazonS3.md @@ -15 +15 @@ Objects are the fundamental entities stored in Amazon S3. Every object stored in -Given the benefits of Amazon S3 for storage, you might decide to use this service to store files and data sets for use with EC2 instances. There are several ways to move data to and from Amazon S3 to your instances. In addition to the examples discussed below, there are a variety of tools that people have written that you can use to access your data in Amazon S3 from your computer or your instance. Some of the common ones are discussed in the AWS forums. +Given the benefits of Amazon S3 for storage, you might decide to use this service to store files and data sets for use with EC2 instances. There are several ways to move data to and from Amazon S3 to your instances. In addition to the examples discussed below, there are a variety of tools that people have written that you can use to access your data in Amazon S3 from your computer or your instance. @@ -19 +19 @@ If you have permission, you can copy a file to or from Amazon S3 and your instan -GET or wget (Linux) +wget @@ -31 +31 @@ The **wget** utility is an HTTP and FTP client that allows you to download publi -AWS Tools for Windows PowerShell (Windows) +PowerShell @@ -34 +34 @@ AWS Tools for Windows PowerShell (Windows) -Windows instances have the benefit of a graphical browser that you can use to access the Amazon S3 console directly; however, for scripting purposes, Windows users can also use the [AWS Tools for Windows PowerShell](https://aws.amazon.com/powershell/) to move objects to and from Amazon S3. +You can use the [AWS Tools for Windows PowerShell](https://aws.amazon.com/powershell/) to move objects to and from Amazon S3. @@ -36 +36 @@ Windows instances have the benefit of a graphical browser that you can use to ac -Use the following command to copy an Amazon S3 object to your Windows instance. +Use the [Copy-S3Object](https://docs.aws.amazon.com/powershell/latest/reference/items/Copy-S3Object.html) cmdlet to copy an Amazon S3 object to your Windows instance as follows. @@ -41 +41 @@ Use the following command to copy an Amazon S3 object to your Windows instance. -AWS CLI (Linux and Windows) +Alternatively, you can open the Amazon S3 console by using a web browser on the Windows instance. @@ -42,0 +43 @@ AWS CLI (Linux and Windows) +AWS CLI @@ -44 +44,0 @@ AWS CLI (Linux and Windows) -The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS services. The AWS CLI enables users to authenticate themselves and download restricted items from Amazon S3 and also to upload items. For more information, such as how to install and configure the tools, see the [AWS Command Line Interface detail page](https://aws.amazon.com/cli/). @@ -46 +46,3 @@ The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS se -The **aws s3 cp** command is similar to the Unix **cp** command. You can copy files from Amazon S3 to your instance, copy files from your instance to Amazon S3, and copy files from one Amazon S3 location to another. +You can use the AWS Command Line Interface (AWS CLI) to download restricted items from Amazon S3 and also to upload items. For more information, such as how to install and configure the tools, see the [AWS Command Line Interface detail page](https://aws.amazon.com/cli/). + +The [aws s3 cp](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/cp.html) command is similar to the Unix **cp** command. You can copy files from Amazon S3 to your instance, copy files from your instance to Amazon S3, and copy files from one Amazon S3 location to another. @@ -58 +60 @@ Use the following command to copy an object from your instance back into Amazon -The **aws s3 sync** command can synchronize an entire Amazon S3 bucket to a local directory location. This can be helpful for downloading a data set and keeping the local copy up-to-date with the remote set. If you have the proper permissions on the Amazon S3 bucket, you can push your local directory back up to the cloud when you are finished by reversing the source and destination locations in the command. +The [aws s3 sync](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/sync.html) command can synchronize an entire Amazon S3 bucket to a local directory location. This can be helpful for downloading a data set and keeping the local copy up-to-date with the remote set. If you have the proper permissions on the Amazon S3 bucket, you can push your local directory back up to the cloud when you are finished by reversing the source and destination locations in the command.