<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4302011827261558899</id><updated>2024-10-04T19:04:58.666-07:00</updated><category term="Python"/><category term="AWS"/><title type='text'>Education Everywhere</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://education4everywhere.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4302011827261558899/posts/default'/><link rel='alternate' type='text/html' href='https://education4everywhere.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Shrikant</name><uri>http://www.blogger.com/profile/01626366771099626570</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4302011827261558899.post-5978135137833183661</id><published>2018-10-07T21:24:00.003-07:00</published><updated>2018-10-07T21:24:54.277-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><title type='text'>Amazon Simple Storage Service</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 class=&quot;topictitle&quot; id=&quot;Welcome&quot; style=&quot;background-color: white; color: #e47911; font-family: &amp;quot;amazon ember&amp;quot;, &amp;quot;open sans&amp;quot;, helvetica, arial, sans-serif; font-size: 24px; margin-top: -69px; padding: 69px 0px 14px;&quot;&gt;
Amazon Simple Storage Service&lt;/h1&gt;
&lt;div&gt;
Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale computing easier for developers.&lt;br /&gt;
Amazon S3 has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits on to developers.&lt;br /&gt;
&lt;h1&gt;
&lt;span style=&quot;color: #ff6600;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524289818&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #ff6600;&quot;&gt;Installation &amp;amp; Setup&amp;nbsp;&lt;/span&gt;&lt;/h1&gt;
&lt;h2&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524289819&quot;&gt;&lt;/a&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/h2&gt;
&lt;br /&gt;
To use the AWS SDK for Java, you must have:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;AWS Free tier account&amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://aws.amazon.com/free/&quot;&gt;click here&lt;/a&gt;&amp;nbsp; and register .This enables you to gain free, hands-on experience with the AWS platform, products, and services.&lt;/li&gt;
&lt;li&gt;a suitable&amp;nbsp;&lt;a href=&quot;https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-install.html#java-dg-java-env&quot;&gt;Java Development Environment&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;An AWS account and access keys. For instructions, see&amp;nbsp;&lt;a href=&quot;https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/signup-create-iam-user.html&quot;&gt;Sign Up for AWS and Create an IAM User&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;AWS credentials (access keys) set in your environment or using the shared (by the AWS CLI and other SDKs) credentials file. For more information, see&amp;nbsp;&lt;a href=&quot;https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-credentials.html&quot;&gt;Set up AWS Credentials and Region for Development&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524289820&quot;&gt;&lt;/a&gt;&lt;strong&gt;Steps&lt;/strong&gt;&lt;/h2&gt;
&lt;h3&gt;
&lt;strong&gt;&lt;span style=&quot;color: red;&quot;&gt;A&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;color: red;&quot;&gt;Install&amp;nbsp; Maven&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Visit&amp;nbsp;&lt;a href=&quot;http://maven.apache.org/download.cgi&quot;&gt;Maven official website&lt;/a&gt;, download the Maven zip file,&lt;/li&gt;
&lt;li&gt;Add&amp;nbsp;MAVEN_HOME&amp;nbsp;variables in the Windows environment, and point it to your Maven folder.&lt;img alt=&quot;maven1&quot; class=&quot;alignnone size-full wp-image-30&quot; height=&quot;306&quot; src=&quot;https://learnnewvision.files.wordpress.com/2018/10/maven1.png&quot; width=&quot;607&quot; /&gt;&lt;/li&gt;
&lt;li&gt;Update&amp;nbsp;PATH variable, append Maven bin folder –&amp;nbsp;%M2_HOME%\bin, so that you can run the Maven’s command everywhere.&lt;/li&gt;
&lt;li&gt;Done, to verify it, run&amp;nbsp;mvn –version in the command prompt.&lt;/li&gt;
&lt;/ol&gt;
&lt;strong&gt;C:\Users\&amp;gt;mvn -version&lt;/strong&gt;&lt;br /&gt;
&lt;h3&gt;
&amp;nbsp;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;strong&gt;B&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;AWS Toolkit&lt;/strong&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;strong&gt;&amp;nbsp;Prerequisites&lt;/strong&gt;&lt;/h3&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;strong&gt;An Amazon Web Services account&lt;/strong&gt;– To obtain an AWS account, go to the&amp;nbsp;&lt;a href=&quot;https://aws.amazon.com/&quot;&gt;AWS home page&amp;nbsp;&lt;/a&gt;and click&amp;nbsp;Sign Up Now. Signing up will enable you to use all of the services offered by AWS.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A supported operating system&lt;/strong&gt;– The AWS Toolkit for Eclipse is supported on Windows, Linux, macOS, or Unix.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Java 1.8 or later&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Eclipse IDE for Java Developers 4.2 or later&lt;/strong&gt;– We attempt to keep the AWS Toolkit for Eclipse current with the default version available on the&amp;nbsp;&lt;a href=&quot;https://eclipse.org/downloads/&quot;&gt;Eclipse download page&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;Steps&lt;/strong&gt;&lt;/h3&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524289820&quot;&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;&lt;/ul&gt;
1. Open Eclipse and go to Help &amp;gt; Eclipse marketplace and search for AWS Toolkit&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;ec1&quot; class=&quot;alignnone size-full wp-image-34&quot; height=&quot;260&quot; src=&quot;https://learnnewvision.files.wordpress.com/2018/10/ec1.png&quot; width=&quot;601&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
2. After Successfully Installation, You will see new Icon for AWS Toolkit as shown below in Eclipse menu bar.&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;ec2&quot; class=&quot;alignnone size-full wp-image-35&quot; height=&quot;113&quot; src=&quot;https://learnnewvision.files.wordpress.com/2018/10/ec2.png&quot; width=&quot;405&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
3. Create AWS Java Project and select appropriate checkbox’s for Amazon Services which are needed in project.&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;ec3&quot; class=&quot;alignnone size-full wp-image-36&quot; height=&quot;485&quot; src=&quot;https://learnnewvision.files.wordpress.com/2018/10/ec3.png&quot; width=&quot;603&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
4. Go to the AWSToolkit &amp;gt; Preferences and Fill up Credentials details.&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;ec4&quot; class=&quot;alignnone size-full wp-image-37&quot; height=&quot;518&quot; src=&quot;https://learnnewvision.files.wordpress.com/2018/10/ec4.png&quot; width=&quot;598&quot; /&gt;&lt;br /&gt;
&lt;h1&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524289821&quot;&gt;&lt;/a&gt;Getting&amp;nbsp; Started&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/h1&gt;
&lt;h1&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/h1&gt;
&lt;h2&gt;
&amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524289822&quot;&gt;&lt;/a&gt;&lt;strong&gt;AWS IAM (&lt;/strong&gt;Identity and Access Management ) :-&lt;/h2&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
It enables you to manage access to AWS services and resources securely. Using IAM, you can create and manage AWS users and groups, and use permissions to allow and deny their access to AWS resources.&lt;br /&gt;
AWS has a list of best practices to help IT professionals and developers manage access to AWS resources.&lt;br /&gt;
&lt;a href=&quot;https://aws.amazon.com/iam/details/manage-users/&quot;&gt;Users&lt;/a&gt;&amp;nbsp;– Create individual users.&lt;br /&gt;
&lt;a href=&quot;https://aws.amazon.com/iam/details/manage-users/&quot;&gt;Groups&lt;/a&gt;&amp;nbsp;– Manage permissions with groups.&lt;br /&gt;
&lt;a href=&quot;https://aws.amazon.com/iam/details/manage-permissions/&quot;&gt;Permissions&lt;/a&gt;&amp;nbsp;– Grant least privilege.&lt;br /&gt;
&lt;a href=&quot;http://aws.amazon.com/cloudtrail/&quot;&gt;Auditing&lt;/a&gt;&amp;nbsp;– Turn on AWS CloudTrail.&lt;br /&gt;
&lt;a href=&quot;https://aws.amazon.com/iam/details/managing-user-credentials/&quot;&gt;Password&lt;/a&gt;&amp;nbsp;– Configure a strong password policy.&lt;br /&gt;
&lt;a href=&quot;https://aws.amazon.com/iam/details/mfa/&quot;&gt;MFA&lt;/a&gt;&amp;nbsp;– Enable MFA for privileged users.&lt;br /&gt;
&lt;a href=&quot;https://aws.amazon.com/iam/details/manage-roles/&quot;&gt;Roles&lt;/a&gt;&amp;nbsp;– Use IAM roles for Amazon EC2 instances.&lt;br /&gt;
&lt;a href=&quot;https://aws.amazon.com/identity/federation/&quot;&gt;Sharing&lt;/a&gt;&amp;nbsp;– Use IAM roles to share access.&lt;br /&gt;
&lt;a href=&quot;http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html&quot;&gt;Rotate&lt;/a&gt;&amp;nbsp;– Rotate security credentials regularly.&lt;br /&gt;
&lt;a href=&quot;http://docs.aws.amazon.com/IAM/latest/UserGuide/PermissionsAndPolicies.html&quot;&gt;Conditions&lt;/a&gt;&amp;nbsp;– Restrict privileged access further with conditions.&lt;br /&gt;
&lt;a href=&quot;https://aws.amazon.com/iam/details/manage-users/&quot;&gt;Root&lt;/a&gt;&amp;nbsp;– Reduce or remove use of root.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Steps for Create IAM User&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. Go to AWS Console and click on IAM&lt;br /&gt;
&lt;img alt=&quot;aws1&quot; class=&quot;alignnone size-full wp-image-31&quot; height=&quot;289&quot; src=&quot;https://learnnewvision.files.wordpress.com/2018/10/aws1.png&quot; width=&quot;634&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Create group and assign AmazonS3FullAccess Policy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;aws2&quot; class=&quot;alignnone size-full wp-image-32&quot; height=&quot;334&quot; src=&quot;https://learnnewvision.files.wordpress.com/2018/10/aws2.png&quot; width=&quot;591&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
3. Create user and assign to group and click&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;aws3&quot; class=&quot;alignnone size-full wp-image-33&quot; height=&quot;297&quot; src=&quot;https://learnnewvision.files.wordpress.com/2018/10/aws3.png&quot; width=&quot;610&quot; /&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #ff9900;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524289824&quot;&gt;&lt;/a&gt;&lt;strong&gt;Sample Code for&amp;nbsp; Amazon S3&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;blockquote&gt;
&lt;code&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;package com.amazonaws.samples;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;/*&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;*/&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;import java.io.BufferedReader;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;import java.io.File;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;import java.io.FileOutputStream;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;import java.io.IOException;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;import java.io.InputStream;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;import java.io.InputStreamReader;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;import java.io.OutputStreamWriter;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;import java.io.Writer;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;&lt;br /&gt;import java.util.UUID;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.AmazonClientException;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.AmazonServiceException;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.auth.AWSCredentials;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.auth.AWSStaticCredentialsProvider;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.auth.profile.ProfileCredentialsProvider;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.regions.Region;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.regions.Regions;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.AmazonS3;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.AmazonS3Client;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.AmazonS3ClientBuilder;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.model.Bucket;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.model.GetObjectRequest;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.model.ListObjectsRequest;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.model.ObjectListing;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.model.PutObjectRequest;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.model.S3Object;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;import com.amazonaws.services.s3.model.S3ObjectSummary;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;public class S3Sample {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;public static void main(String[] args) throws IOException {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;AWSCredentials credentials = null;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;try {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;credentials = new ProfileCredentialsProvider(&quot;default&quot;).getCredentials();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;} catch (Exception e) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;throw new AmazonClientException(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;&quot;Cannot load the credentials from the credential profiles file. &quot; +&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;&quot;Please make sure that your credentials file is at the correct &quot; +&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;&quot;location (C:\\Users\\Shrikant_Jagtap\\.aws\\credentials), and is in valid format.&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;e);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;AmazonS3 s3 = AmazonS3ClientBuilder.standard()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;.withCredentials(new AWSStaticCredentialsProvider(credentials))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;.withRegion(&quot;us-west-2&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;.build();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;String bucketName = &quot;my-first-s3-bucket-&quot; + UUID.randomUUID();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;String key = &quot;MyObjectKey&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;===========================================&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Getting Started with Amazon S3&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;===========================================\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;try {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Creating bucket &quot; + bucketName + &quot;\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;s3.createBucket(bucketName);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Listing buckets&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;for (Bucket bucket : s3.listBuckets()) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot; - &quot; + bucket.getName());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Uploading a new object to S3 from a file\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;s3.putObject(new PutObjectRequest(bucketName, key, createSampleFile()));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Downloading an object&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;S3Object object = s3.getObject(new GetObjectRequest(bucketName, key));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Content-Type: &quot; + object.getObjectMetadata().getContentType());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;displayTextInputStream(object.getObjectContent());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Listing objects&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;ObjectListing objectListing = s3.listObjects(new ListObjectsRequest()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;.withBucketName(bucketName)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;.withPrefix(&quot;My&quot;));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;for (S3ObjectSummary objectSummary : objectListing.getObjectSummaries()) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot; - &quot; + objectSummary.getKey() + &quot; &quot; +&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;&quot;(size = &quot; + objectSummary.getSize() + &quot;)&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Deleting an object\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;s3.deleteObject(bucketName, key);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Deleting bucket &quot; + bucketName + &quot;\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;s3.deleteBucket(bucketName);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;} catch (AmazonServiceException ase) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Caught an AmazonServiceException, which means your request made it &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;+ &quot;to Amazon S3, but was rejected with an error response for some reason.&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Error Message: &quot; + ase.getMessage());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;HTTP Status Code: &quot; + ase.getStatusCode());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;AWS Error Code: &quot; + ase.getErrorCode());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Error Type: &quot; + ase.getErrorType());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Request ID: &quot; + ase.getRequestId());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;} catch (AmazonClientException ace) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Caught an AmazonClientException, which means the client encountered &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;+ &quot;a serious internal problem while trying to communicate with S3, &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;+ &quot;such as not being able to access the network.&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot;Error Message: &quot; + ace.getMessage());&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;private static File createSampleFile() throws IOException {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;File file = File.createTempFile(&quot;aws-java-sdk-&quot;, &quot;.txt&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;file.deleteOnExit();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;Writer writer = new OutputStreamWriter(new FileOutputStream(file));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;writer.write(&quot;abcdefghijklmnopqrstuvwxyz\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;writer.write(&quot;01234567890112345678901234\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;writer.write(&quot;!@#$%^&amp;amp;*()-=[]{};&#39;:&#39;,.&amp;lt;&amp;gt;/?\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;writer.write(&quot;01234567890112345678901234\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;writer.write(&quot;abcdefghijklmnopqrstuvwxyz\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;writer.close();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;return file;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;/**&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;* Displays the contents of the specified input stream as text.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;* @param input&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;* The input stream to display as text.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;* @throws IOException&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;*/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;private static void displayTextInputStream(InputStream input) throws IOException {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;BufferedReader reader = new BufferedReader(new InputStreamReader(input));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;while (true) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;String line = reader.readLine();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;if (line == null) break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println(&quot; &quot; + line);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;System.out.println();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
}&lt;/blockquote&gt;
&lt;br /&gt;
CONSOLE OUPUT&lt;br /&gt;
===========================================&lt;br /&gt;
Getting Started with Amazon S3&lt;br /&gt;
===========================================&lt;br /&gt;
Creating bucket my-first-s3-bucket-00802f76-777d-41ea-b236-650286137f26&lt;br /&gt;
Listing buckets&lt;br /&gt;
- my-first-s3-bucket-00802f76-777d-41ea-b236-650286137f26&lt;br /&gt;
- myshribucket&lt;br /&gt;
- shribucket123&lt;br /&gt;
Uploading a new object to S3 from a file&lt;br /&gt;
Downloading an object&lt;br /&gt;
Content-Type: text/plain&lt;br /&gt;
abcdefghijklmnopqrstuvwxyz&lt;br /&gt;
01234567890112345678901234&lt;br /&gt;
!@#$%^&amp;amp;*()-=[]{};&#39;:&#39;,.&amp;lt;&amp;gt;/?&lt;br /&gt;
01234567890112345678901234&lt;br /&gt;
abcdefghijklmnopqrstuvwxyz&lt;br /&gt;
Listing objects&lt;br /&gt;
- MyObjectKey (size = 135)&lt;br /&gt;
Deleting an object&lt;br /&gt;
Deleting bucket my-first-s3-bucket-00802f76-777d-41ea-b236-650286137f26&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background: white; border: none; padding: 1pt 0in 0in;&quot;&gt;
&lt;h1 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; margin-top: 0in;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524387004&quot;&gt;&lt;span style=&quot;color: #e47911; font-family: &amp;quot;arial&amp;quot; , sans-serif; mso-bidi-font-size: 18.0pt;&quot;&gt;AWS Command Line&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #ed7d31; mso-themecolor: accent2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #333333; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt;&quot;&gt;The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524387005&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #c45911; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 14pt;&quot;&gt;Steps&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&lt;span style=&quot;color: #c45911; font-size: 14pt;&quot;&gt;&amp;nbsp;for Install AWS CLI&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #c45911; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;1.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt;&quot;&gt;Download And Install for window by&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://aws.amazon.com/cli/?sc_channel=PS&amp;amp;sc_campaign=acquisition_IN&amp;amp;sc_publisher=google&amp;amp;sc_medium=command_line_b&amp;amp;sc_content=aws_cli_e&amp;amp;sc_detail=aws%20cli&amp;amp;sc_category=command_line&amp;amp;sc_segment=159807028003&amp;amp;sc_matchtype=e&amp;amp;sc_country=IN&amp;amp;s_kwcid=AL!4422!3!159807028003!e!!g!!aws%20cli&amp;amp;ef_id=W32ozgAAAAAqeqo5:20180910175744:s&quot;&gt;Click Here&lt;/a&gt;&lt;span style=&quot;color: #333333; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;2.&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; mso-bidi-font-family: Helvetica; mso-bidi-font-size: 11.0pt;&quot;&gt;Check&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;once everything has been setup correctly&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGwO6BoFHa9LUgAlZ1abBRAQzQDdzc-24kDo50auCnXB5DtHo34t97VE9SARcMByfHLAVU_6zDvfgxrqXb6n4M5nJUjhRBpHUQ8LDoeXvE0-XumVHRTRT-sY70Kpa-K6DM84TIzaKUApgC/s1600/Cli1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center; text-indent: 0px;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;52&quot; data-original-width=&quot;419&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGwO6BoFHa9LUgAlZ1abBRAQzQDdzc-24kDo50auCnXB5DtHo34t97VE9SARcMByfHLAVU_6zDvfgxrqXb6n4M5nJUjhRBpHUQ8LDoeXvE0-XumVHRTRT-sY70Kpa-K6DM84TIzaKUApgC/s1600/Cli1.PNG&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;3.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; text-indent: -0.25in;&quot;&gt;you can configure it using the following command&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo4; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_Ih1Wxc4TKmiLp5W176UPkYPq1vqOPUPOEXi0avqUyWjSrUGpt3RJbRtzYZmfEOzAXG8Lz-9wbjD_pJzwrvjkhQ1ZHcnlhFjg_Gt2YYQM49li0Q7cI1_RDz3iNqy3u2llCLy7BOvjgH4R/s1600/cli2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;75&quot; data-original-width=&quot;600&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_Ih1Wxc4TKmiLp5W176UPkYPq1vqOPUPOEXi0avqUyWjSrUGpt3RJbRtzYZmfEOzAXG8Lz-9wbjD_pJzwrvjkhQ1ZHcnlhFjg_Gt2YYQM49li0Q7cI1_RDz3iNqy3u2llCLy7BOvjgH4R/s1600/cli2.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo4; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Note&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background: white; color: #333333;&quot;&gt;Here:&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;background: white; border: 1pt solid rgb(225, 225, 225); color: #666666; font-size: 10pt; padding: 2pt;&quot;&gt;us-west-2&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;) and the default output format (here:&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;background: white; border: 1pt solid rgb(225, 225, 225); color: #666666; font-size: 10pt; padding: 2pt;&quot;&gt;json&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;). If you need different profiles, you can specify this additionally using the argument&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;background: white; border: 1pt solid rgb(225, 225, 225); color: #666666; font-size: 10pt; padding: 2pt;&quot;&gt;--profile&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background: white;&quot;&gt;aws configure --profile my-second-profile&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2&gt;
&amp;nbsp;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524387006&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;cli_buckets&quot;&gt;&lt;/a&gt;&lt;b&gt;&lt;span style=&quot;color: #c45911; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 16pt;&quot;&gt;A:&amp;nbsp; Buckets Operations &amp;amp; Commands&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #c45911; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 16pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div style=&quot;background: white; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11.5pt;&quot;&gt;High-level commands for the creation and deletion of buckets are provided by the aws-cli tool. Just provide the string&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;border: 1pt solid rgb(225, 225, 225); color: #666666; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 8.5pt; padding: 2pt;&quot;&gt;s3&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11.5pt;&quot;&gt;as first argument to&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;border: 1pt solid rgb(225, 225, 225); color: #666666; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 8.5pt; padding: 2pt;&quot;&gt;aws&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11.5pt;&quot;&gt;&amp;nbsp;followed by a shortcut for “make bucket”, “remove bucket”:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; font-size: 11.5pt; line-height: 17.6333px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; font-size: 11.5pt; line-height: 17.6333px;&quot;&gt;Create New Bucket.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; font-size: 11.5pt; line-height: 17.6333px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; font-size: 11.5pt; line-height: 17.6333px;&quot;&gt;Delete buckets that are already empty. Removing buckets with contents can be done by providing the option&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;background: white; border: 1pt solid rgb(225, 225, 225); color: #666666; font-size: 8.5pt; line-height: 13.0333px; padding: 2pt;&quot;&gt;--force&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;background: white; color: #333333; font-size: 11.5pt; line-height: 17.6333px;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; font-size: 11.5pt; line-height: 17.6333px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; font-size: 11.5pt; line-height: 17.6333px;&quot;&gt;To list the contents of a bucket&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; font-size: 11.5pt; line-height: 17.6333px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; font-size: 11.5pt; line-height: 17.6333px;&quot;&gt;List all available buckets:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwqwOwK-mcGPD7OyE_qS6B12H_yhn6xUck4si2qlknnsYk0Lt7HcSGoRb_swlPIhRWYM5V7GMgxxxOncTYnZxQVT1sOrHvMPsBsKUzmxiaIjlvEfVUsKIibTvlhc3v3vxUh5teXsdJYFn_/s1600/b1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;576&quot; data-original-width=&quot;682&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwqwOwK-mcGPD7OyE_qS6B12H_yhn6xUck4si2qlknnsYk0Lt7HcSGoRb_swlPIhRWYM5V7GMgxxxOncTYnZxQVT1sOrHvMPsBsKUzmxiaIjlvEfVUsKIibTvlhc3v3vxUh5teXsdJYFn_/s1600/b1.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524387007&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #c45911; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 16pt;&quot;&gt;B: Objects operations &amp;amp;commands&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&lt;span style=&quot;color: #c45911; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 16pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;span style=&quot;background: white; color: #333333; line-height: 18.4px;&quot;&gt;The command line interface supports high-level operations for uploading, moving and removing objects.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; line-height: 18.4px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; line-height: 18.4px;&quot;&gt;Uploading a local file to s3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; line-height: 18.4px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; line-height: 18.4px;&quot;&gt;Specify the storage class for the new remote object:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;code&gt;&lt;span style=&quot;border: 1pt solid rgb(225, 225, 225); color: #666666; font-family: &amp;quot;wingdings&amp;quot;; font-size: 10pt; line-height: 15.3333px; padding: 2pt;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;background: white; color: #333333; line-height: 18.4px;&quot;&gt;new file can be removed by using the command&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;background: white; border: 1pt solid rgb(225, 225, 225); color: #666666; font-size: 10pt; line-height: 15.3333px; padding: 2pt;&quot;&gt;rm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; line-height: 18.4px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; line-height: 18.4px;&quot;&gt;move complete sets of files from S3 to the local machine&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRkq9l4tALInpjrLCDmaWvioucvlLKoHUy_KdVXDtr7tgbOqDFKGGlBPZ-WIkLS2iAS9xTuUB7urkVnvHxzr76ujlVOtuhql5IjYO-sow7Aaom5B8AuosUE7Z6AKBMtd8HZdBNkrE5gRis/s1600/b2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;185&quot; data-original-width=&quot;609&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRkq9l4tALInpjrLCDmaWvioucvlLKoHUy_KdVXDtr7tgbOqDFKGGlBPZ-WIkLS2iAS9xTuUB7urkVnvHxzr76ujlVOtuhql5IjYO-sow7Aaom5B8AuosUE7Z6AKBMtd8HZdBNkrE5gRis/s1600/b2.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc524387008&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #c45911; font-size: 16pt;&quot;&gt;C: Synchronization&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&lt;span style=&quot;color: #c45911; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 16pt;&quot;&gt;operations &amp;amp;commands&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div style=&quot;background: white; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt;&quot;&gt;Often it is useful to synchronize complete folder structures and their content either from the local machine to S3 or vice versa. Therefor the aws-cli tool comes with the handy option&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;border: 1pt solid rgb(225, 225, 225); color: #666666; font-family: &amp;quot;calibri&amp;quot; , sans-serif; font-size: 11pt; padding: 2pt;&quot;&gt;sync&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; line-height: 18.4px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; line-height: 18.4px;&quot;&gt;updates all files in S3 that have a different size and/or modification timestamp than the one in the local directory. As it does not remove objects from the S3,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; line-height: 18.4px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; line-height: 18.4px;&quot;&gt;you must specify the&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;background: white; border: 1pt solid rgb(225, 225, 225); color: #666666; font-size: 10pt; line-height: 15.3333px; padding: 2pt;&quot;&gt;--delete&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;background: white; color: #333333; line-height: 18.4px;&quot;&gt;&amp;nbsp;option to let the tool also remove files in S3 that are not present in your local copy&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px; margin-left: 1in; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &amp;quot;wingdings&amp;quot;; line-height: 18.4px;&quot;&gt;Ø&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; color: #333333; line-height: 18.4px;&quot;&gt;When synchronizing your local copy with the remote files in S3 you can also specify the storage class and the access privilege’s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjudC_E2UaFad1vLjH4eY_vsiH5yQKvTHTTBpThnDWVG3z8dCblLJ4AghUjswl2zJ1zE-mwvvtb2S5dk_-FO06B67ffwqyCdzPkLaz8hkGF6kv7Hnk8jGmYGMckz4q-sc-JINs2JqhFcvch/s1600/b3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;238&quot; data-original-width=&quot;671&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjudC_E2UaFad1vLjH4eY_vsiH5yQKvTHTTBpThnDWVG3z8dCblLJ4AghUjswl2zJ1zE-mwvvtb2S5dk_-FO06B67ffwqyCdzPkLaz8hkGF6kv7Hnk8jGmYGMckz4q-sc-JINs2JqhFcvch/s1600/b3.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: 18.4px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;background: white; color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Refernce:&amp;nbsp;&lt;a href=&quot;https://aws.amazon.com/getting-started/&quot;&gt;https://aws.amazon.com/getting-started/&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://education4everywhere.blogspot.com/feeds/5978135137833183661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://education4everywhere.blogspot.com/2018/10/amazon-simple-storage-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4302011827261558899/posts/default/5978135137833183661'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4302011827261558899/posts/default/5978135137833183661'/><link rel='alternate' type='text/html' href='https://education4everywhere.blogspot.com/2018/10/amazon-simple-storage-service.html' title='Amazon Simple Storage Service'/><author><name>Shrikant</name><uri>http://www.blogger.com/profile/01626366771099626570</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGwO6BoFHa9LUgAlZ1abBRAQzQDdzc-24kDo50auCnXB5DtHo34t97VE9SARcMByfHLAVU_6zDvfgxrqXb6n4M5nJUjhRBpHUQ8LDoeXvE0-XumVHRTRT-sY70Kpa-K6DM84TIzaKUApgC/s72-c/Cli1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302011827261558899.post-7686549598169567843</id><published>2018-10-03T00:26:00.000-07:00</published><updated>2018-10-07T21:23:28.867-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Introduction to Python</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #ff6600;&quot;&gt;Introduction to Python&lt;/span&gt;&lt;/h2&gt;
Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. Like Perl, Python source code is also available under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #ff6600;&quot;&gt;Python Features&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;strong&gt;&lt;span style=&quot;color: #ff6600;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Interpreted&lt;/strong&gt;− Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Object-Oriented&lt;/strong&gt;− Python supports Object-Oriented style or technique of programming that encapsulates code within objects.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A broad standard library&lt;/strong&gt;&amp;nbsp;− Python&#39;s bulk of the library is very portable and cross-platform compatible on UNIX, Windows, and Macintosh.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Interactive Mode&lt;/strong&gt;− Python has support for an interactive mode which allows interactive testing and debugging of snippets of code.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Portable&lt;/strong&gt;− Python can run on a wide variety of hardware platforms and has the same interface on all platforms.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Databases&lt;/strong&gt;− Python provides interfaces to all major commercial databases.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GUI Programming&lt;/strong&gt;− Python supports GUI applications that can be created and ported to many system calls, libraries and windows systems, such as Windows MFC, Macintosh, and the X Window system of Unix.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
&amp;nbsp;&lt;/h2&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Installation &amp;amp; Setup&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;strong&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
Python is available on a wide variety of platforms including Linux and Mac OS X.&lt;br /&gt;
official website of Python&amp;nbsp;&lt;a href=&quot;https://www.python.org/&quot;&gt;https://www.python.org/&lt;/a&gt;&lt;br /&gt;
Documentation&amp;nbsp;&lt;a href=&quot;https://www.python.org/doc/&quot;&gt;https://www.python.org/doc/&lt;/a&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;strong&gt;Unix and Linux :&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Open a Web browser and go to&amp;nbsp;&lt;a href=&quot;https://www.python.org/downloads/&quot;&gt;https://www.python.org/downloads/&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download and extract files.&lt;/li&gt;
&lt;li&gt;Editing the&amp;nbsp;&lt;em&gt;Modules/Setup&lt;/em&gt;&amp;nbsp;file if you want to customize some options.&lt;/li&gt;
&lt;li&gt;run ./configure script&amp;nbsp; and make install&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;strong&gt;Windows :&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Open a Web browser and go to&amp;nbsp;&lt;a href=&quot;https://www.python.org/downloads/&quot;&gt;https://www.python.org/downloads/&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;To use this installer&amp;nbsp;&lt;em&gt;python-XYZ.msi&lt;/em&gt;, the Windows system must support Microsoft Installer 2.0. Save the installer file to your local machine and then run it to find out if your machine supports MSI.&lt;/li&gt;
&lt;li&gt;Run the downloaded file. This brings up the Python install wizard, which is really easy to use. Just accept the default settings, wait until the install is finished, and you are done.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;strong&gt;Macintosh :&lt;/strong&gt;&lt;/h3&gt;
Recent Macs come with Python installed, but it may be several years out of date. See&amp;nbsp;&lt;a href=&quot;https://www.python.org/download/mac/&quot;&gt;http://www.python.org/download/mac/&lt;/a&gt;&amp;nbsp;for instructions on&lt;br /&gt;
&lt;h2&gt;
&amp;nbsp;&lt;/h2&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;strong&gt;&amp;nbsp;&lt;span style=&quot;color: #ff6600;&quot;&gt;Editors and IDEs&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;h3&gt;
&lt;strong&gt;General Editors&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Eclipse + PyDev&lt;/li&gt;
&lt;li&gt;Sublime Text&lt;/li&gt;
&lt;li&gt;Atom&lt;/li&gt;
&lt;li&gt;GNU Emacs&lt;/li&gt;
&lt;li&gt;Vi / Vim&lt;/li&gt;
&lt;li&gt;Visual Studio&lt;/li&gt;
&lt;li&gt;Visual Studio Code&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;strong&gt;Recommended Python-Specific&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;PyCharm&lt;/li&gt;
&lt;li&gt;Spyder&lt;/li&gt;
&lt;li&gt;Thonny&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;strong&gt;&amp;nbsp;Install Pycharm&lt;/strong&gt;&lt;/h3&gt;
The official website of PyCharm&lt;br /&gt;
&lt;a href=&quot;https://www.jetbrains.com/pycharm/download/#section=windows&quot; rel=&quot;nofollow noopener&quot; target=&quot;_blank&quot;&gt;https://www.jetbrains.com/pycharm/download/#section=windows&lt;/a&gt;&lt;br /&gt;
Here you will observe two versions of package for Windows as shown in the screenshot&lt;br /&gt;
Download the community package (executable file) and install onto your system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;pycharm&quot; class=&quot;alignnone size-full wp-image-94&quot; height=&quot;270&quot; src=&quot;https://learn4educate.files.wordpress.com/2018/10/pycharm.png&quot; width=&quot;647&quot; /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://education4everywhere.blogspot.com/feeds/7686549598169567843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://education4everywhere.blogspot.com/2018/10/introduction-to-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4302011827261558899/posts/default/7686549598169567843'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4302011827261558899/posts/default/7686549598169567843'/><link rel='alternate' type='text/html' href='https://education4everywhere.blogspot.com/2018/10/introduction-to-python.html' title='Introduction to Python'/><author><name>Shrikant</name><uri>http://www.blogger.com/profile/01626366771099626570</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302011827261558899.post-8120071556457168323</id><published>2018-10-03T00:21:00.000-07:00</published><updated>2018-10-07T21:21:41.153-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python Introduction</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #ff6600;&quot;&gt;Introduction to Python&lt;/span&gt;&lt;/h2&gt;
Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. Like Perl, Python source code is also available under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #ff6600;&quot;&gt;Python Features&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;strong&gt;&lt;span style=&quot;color: #ff6600;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Interpreted&lt;/strong&gt;− Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Object-Oriented&lt;/strong&gt;− Python supports Object-Oriented style or technique of programming that encapsulates code within objects.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A broad standard library&lt;/strong&gt;&amp;nbsp;− Python&#39;s bulk of the library is very portable and cross-platform compatible on UNIX, Windows, and Macintosh.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Interactive Mode&lt;/strong&gt;− Python has support for an interactive mode which allows interactive testing and debugging of snippets of code.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Portable&lt;/strong&gt;− Python can run on a wide variety of hardware platforms and has the same interface on all platforms.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Databases&lt;/strong&gt;− Python provides interfaces to all major commercial databases.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GUI Programming&lt;/strong&gt;− Python supports GUI applications that can be created and ported to many system calls, libraries and windows systems, such as Windows MFC, Macintosh, and the X Window system of Unix.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
&amp;nbsp;&lt;/h2&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Installation &amp;amp; Setup&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;strong&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
Python is available on a wide variety of platforms including Linux and Mac OS X.&lt;br /&gt;
official website of Python&amp;nbsp;&lt;a href=&quot;https://www.python.org/&quot;&gt;https://www.python.org/&lt;/a&gt;&lt;br /&gt;
Documentation&amp;nbsp;&lt;a href=&quot;https://www.python.org/doc/&quot;&gt;https://www.python.org/doc/&lt;/a&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;strong&gt;Unix and Linux :&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Open a Web browser and go to&amp;nbsp;&lt;a href=&quot;https://www.python.org/downloads/&quot;&gt;https://www.python.org/downloads/&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download and extract files.&lt;/li&gt;
&lt;li&gt;Editing the&amp;nbsp;&lt;em&gt;Modules/Setup&lt;/em&gt;&amp;nbsp;file if you want to customize some options.&lt;/li&gt;
&lt;li&gt;run ./configure script&amp;nbsp; and make install&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;strong&gt;Windows :&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Open a Web browser and go to&amp;nbsp;&lt;a href=&quot;https://www.python.org/downloads/&quot;&gt;https://www.python.org/downloads/&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;To use this installer&amp;nbsp;&lt;em&gt;python-XYZ.msi&lt;/em&gt;, the Windows system must support Microsoft Installer 2.0. Save the installer file to your local machine and then run it to find out if your machine supports MSI.&lt;/li&gt;
&lt;li&gt;Run the downloaded file. This brings up the Python install wizard, which is really easy to use. Just accept the default settings, wait until the install is finished, and you are done.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;strong&gt;Macintosh :&lt;/strong&gt;&lt;/h3&gt;
Recent Macs come with Python installed, but it may be several years out of date. See&amp;nbsp;&lt;a href=&quot;https://www.python.org/download/mac/&quot;&gt;http://www.python.org/download/mac/&lt;/a&gt;&amp;nbsp;for instructions on&lt;br /&gt;
&lt;h2&gt;
&amp;nbsp;&lt;/h2&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;strong&gt;&amp;nbsp;&lt;span style=&quot;color: #ff6600;&quot;&gt;Editors and IDEs&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;h3&gt;
&lt;strong&gt;General Editors&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Eclipse + PyDev&lt;/li&gt;
&lt;li&gt;Sublime Text&lt;/li&gt;
&lt;li&gt;Atom&lt;/li&gt;
&lt;li&gt;GNU Emacs&lt;/li&gt;
&lt;li&gt;Vi / Vim&lt;/li&gt;
&lt;li&gt;Visual Studio&lt;/li&gt;
&lt;li&gt;Visual Studio Code&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;strong&gt;Recommended Python-Specific&amp;nbsp;&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;PyCharm&lt;/li&gt;
&lt;li&gt;Spyder&lt;/li&gt;
&lt;li&gt;Thonny&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
&lt;strong&gt;&amp;nbsp;Install Pycharm&lt;/strong&gt;&lt;/h3&gt;
The official website of PyCharm&lt;br /&gt;
&lt;a href=&quot;https://www.jetbrains.com/pycharm/download/#section=windows&quot; rel=&quot;nofollow noopener&quot; target=&quot;_blank&quot;&gt;https://www.jetbrains.com/pycharm/download/#section=windows&lt;/a&gt;&lt;br /&gt;
Here you will observe two versions of package for Windows as shown in the screenshot&lt;br /&gt;
Download the community package (executable file) and install onto your system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;pycharm&quot; class=&quot;alignnone size-full wp-image-94&quot; height=&quot;270&quot; src=&quot;https://learn4educate.files.wordpress.com/2018/10/pycharm.png&quot; width=&quot;647&quot; /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://education4everywhere.blogspot.com/feeds/8120071556457168323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://education4everywhere.blogspot.com/2018/10/python-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4302011827261558899/posts/default/8120071556457168323'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4302011827261558899/posts/default/8120071556457168323'/><link rel='alternate' type='text/html' href='https://education4everywhere.blogspot.com/2018/10/python-introduction.html' title='Python Introduction'/><author><name>Shrikant</name><uri>http://www.blogger.com/profile/01626366771099626570</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>