<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Patrycjusz Czerniga</title>
    <description>The latest articles on Forem by Patrycjusz Czerniga (@czerniga).</description>
    <link>https://forem.com/czerniga</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F758483%2Fe55c4ef7-60be-4480-9f80-800c3342e28a.png</url>
      <title>Forem: Patrycjusz Czerniga</title>
      <link>https://forem.com/czerniga</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/czerniga"/>
    <language>en</language>
    <item>
      <title>Create a free AWS account and configure the AWS CLI</title>
      <dc:creator>Patrycjusz Czerniga</dc:creator>
      <pubDate>Thu, 08 Dec 2022 14:47:10 +0000</pubDate>
      <link>https://forem.com/aws-builders/create-a-free-aws-account-and-configure-the-aws-cli-1khf</link>
      <guid>https://forem.com/aws-builders/create-a-free-aws-account-and-configure-the-aws-cli-1khf</guid>
      <description>&lt;h2&gt;
  
  
  What is AWS?
&lt;/h2&gt;

&lt;p&gt;AWS stands for Amazon Web Services, which is a cloud computing services platform offered by Amazon. &lt;a href="https://www.czerniga.it/category/aws_en/" rel="noopener noreferrer"&gt;AWS&lt;/a&gt; enables a wide range of computing services, such as data storage, computing, databases, web applications, etc. With AWS, you can easily and flexibly scale your applications and services, and manage them from anywhere in the world through a user-friendly web interface. AWS is one of the most popular cloud computing platforms and is used by many companies around the world.&lt;/p&gt;

&lt;p&gt;AWS offers a free version of its platform, which is called AWS Free Tier. The free version of AWS allows you to use selected services within certain limits at no additional cost. For example, you can enjoy free cloud storage, free computing or free database for a certain period of time. After that time, you can continue using the services, but you will have to pay for their use. The free version of AWS is ideal for people who want to try out the platform or use it in a small way.&lt;/p&gt;

&lt;p&gt;It is important to note here that when creating an account, you will be required to provide a payment card number that can be used to pay online. Consequently, if you exceed any limits you will be charged with the cost of this very card. Therefore, it is a good idea to control the costs here on a regular basis. You can read more on Wojciech Lepczynski's blog: &lt;a class="mentioned-user" href="https://dev.to/wlepczynski"&gt;@wlepczynski&lt;/a&gt; &lt;a href="https://lepczynski.it/en/aws_en/how-to-control-costs-in-the-aws-cloud/" rel="noopener noreferrer"&gt;https://lepczynski.it/en/aws_en/how-to-control-costs-in-the-aws-cloud/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Create a free AWS account
&lt;/h2&gt;

&lt;h3&gt;
  
  
  step 1
&lt;/h3&gt;

&lt;p&gt;We start creating an account by going to &lt;a href="https://portal.aws.amazon.com/billing/signup?refid=em_127222&amp;amp;redirect_url=https%3A%2F%2Faws.amazon.com%2Fregistration-confirmation#/start/email" rel="noopener noreferrer"&gt;https://portal.aws.amazon.com/billing/signup?refid=em_127222&amp;amp;redirect_url=https%3A%2F%2Faws.amazon.com%2Fregistration-confirmation#/start/email&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzews6vaireske8yee1wi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzews6vaireske8yee1wi.png" alt="Sign up for AWS" width="711" height="552"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On this page, we enter our email address and AWS account name. The account name is not that important. You can change it after logging into the account.&lt;/p&gt;

&lt;h3&gt;
  
  
  step 2
&lt;/h3&gt;

&lt;p&gt;Now we need to confirm our email address by entering the verification code that we will receive in an email from AWS. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo6ljlcepj7j3zcqg326q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo6ljlcepj7j3zcqg326q.png" alt="Email verification" width="535" height="747"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 3
&lt;/h3&gt;

&lt;p&gt;After confirming the address, we proceed to enter our password for the root account.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7u8eyhcxdft66i77mtey.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7u8eyhcxdft66i77mtey.png" alt="Aws root password" width="556" height="690"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 4
&lt;/h3&gt;

&lt;p&gt;In the next step we need to enter our data. Here we need to provide real data. This is because they will be needed to verify the card and phone number.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdo2vjvk7hhy5ff1t2g65.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdo2vjvk7hhy5ff1t2g65.png" alt="Mobile phone verification" width="502" height="776"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 5
&lt;/h3&gt;

&lt;p&gt;In the next step, we need to provide our payment/credit card details.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frzns0053jjpr4krzuiq9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frzns0053jjpr4krzuiq9.png" alt="Payment/credit card verification" width="510" height="907"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here there will also be a need to confirm the withdrawal of 1 dollar from the account. This money will come back after verification from AWS website.&lt;/p&gt;

&lt;h3&gt;
  
  
  step 6
&lt;/h3&gt;

&lt;p&gt;Now we need to confirm our phone number. To do this, we need to select the type of verification. The easiest way to do this is by choosing to send a code via SMS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmsmo68vmcb5nlneq7chz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmsmo68vmcb5nlneq7chz.png" alt="Text Message verification" width="498" height="895"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 7
&lt;/h3&gt;

&lt;p&gt;In the last step, we choose the type of support from AWS. Here we choose &lt;strong&gt;Basic support Free&lt;/strong&gt; option.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpjbtixycsblujdd0wol2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpjbtixycsblujdd0wol2.png" alt="Select a support plan" width="800" height="842"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Congratulations !!!
&lt;/h3&gt;

&lt;p&gt;We have reached the last step. The account has been created, but we still have to wait a while for it to be activated. We will receive information about this by email.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F84y67jzvdc10bn0jpidz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F84y67jzvdc10bn0jpidz.png" alt="Congratulations - AWS account is ready" width="800" height="655"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After logging in, we will see the main AWS console panel.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fykz4htb5tka81ifjmzta.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fykz4htb5tka81ifjmzta.png" alt="Main AWS console panel" width="800" height="326"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating a technical user
&lt;/h2&gt;

&lt;p&gt;After creating the account, we operate as a root user. However, it is advisable to work with the account in the console from a user with lower privileges. Therefore, it is recommended to create such a user and use it in interacting with the account.&lt;/p&gt;

&lt;h3&gt;
  
  
  step 1
&lt;/h3&gt;

&lt;p&gt;We now go to our portal and type &lt;strong&gt;IAM&lt;/strong&gt; in the search panel. After a while, we will see a link to a page related to user management.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2oqry76hq8bg6uma9vcl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2oqry76hq8bg6uma9vcl.png" alt="IAM control panel" width="800" height="225"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 2
&lt;/h3&gt;

&lt;p&gt;On the next page, we select &lt;strong&gt;Users&lt;/strong&gt; from the menu and then click on &lt;strong&gt;Add User&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgpgz92pf0qup7n0ql60.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgpgz92pf0qup7n0ql60.png" alt="Let's create user" width="800" height="265"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 3
&lt;/h3&gt;

&lt;p&gt;Now we need to enter the name of our user and select &lt;strong&gt;Access key - Programmatic access&lt;/strong&gt;. This will create a user that we will connect to from the AWS CLI. We now click on Next:Permissions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F21s4g18ngpbjkeiplq8m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F21s4g18ngpbjkeiplq8m.png" alt="AWS user details" width="800" height="484"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 4
&lt;/h3&gt;

&lt;p&gt;In the next step, we need to assign permissions for our user. To do this, we select &lt;strong&gt;Attach exisiting policies directly&lt;/strong&gt;. Then, in the search window, we specify &lt;strong&gt;AmazonS3FullAccess&lt;/strong&gt;. This will allow the user to fully manage S3 buckets. If you want you can give more permissions here.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq03f1m3lfhyccjdq752r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq03f1m3lfhyccjdq752r.png" alt="Permissions for new user" width="800" height="314"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 5
&lt;/h3&gt;

&lt;p&gt;In the next step, we assign tags for our account. We can skip this step and go to the next step - summary.&lt;/p&gt;

&lt;h3&gt;
  
  
  step 6
&lt;/h3&gt;

&lt;p&gt;Now we can check the summary about our user. We create a user by clicking on &lt;strong&gt;Create user&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl6n1ll9a31ntuxq256iv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl6n1ll9a31ntuxq256iv.png" alt="Review new user settings" width="800" height="383"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 7
&lt;/h3&gt;

&lt;p&gt;On the last page of user creation, a very important piece of information appears. These are the two keys &lt;strong&gt;Access key ID&lt;/strong&gt; and &lt;strong&gt;Secret access key&lt;/strong&gt;. Copy them because you will need them during AWS CLI configuration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp8lgwbq8fiohlqel8lki.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp8lgwbq8fiohlqel8lki.png" alt="AWS CLI keys" width="800" height="337"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS CLI configuration
&lt;/h2&gt;

&lt;p&gt;Amazon provides a very good AWS CLI tool that allows you to manage resources from the console. Below I show how to configure the Linux console. If you want to use other consoles (Windows or, for example, Mac) take a look at the official AWS website: &lt;a href="https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  step 1
&lt;/h3&gt;

&lt;p&gt;The first step is to install the AWS CLI tool. The quickest way to do this is by running the following script:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip"&lt;/span&gt; &lt;span class="nt"&gt;-o&lt;/span&gt; &lt;span class="s2"&gt;"awscliv2.zip"&lt;/span&gt;
unzip awscliv2.zip
&lt;span class="nb"&gt;sudo&lt;/span&gt; ./aws/install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After installing the tool, we can verify that it is working properly by running the command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; aws &lt;span class="nt"&gt;--version&lt;/span&gt;
aws-cli/2.1.10 Python/3.7.3 Linux/5.10.102.1-microsoft-standard-WSL2 exe/x86_64.ubuntu.20 prompt/off
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  step 2
&lt;/h3&gt;

&lt;p&gt;Now we need to configure our tool to be able to communicate with our account. To do this, we need to run the command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; aws configure
AWS Access Key ID &lt;span class="o"&gt;[&lt;/span&gt;None]: &lt;span class="k"&gt;**&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;KEY_ID]&lt;span class="k"&gt;**&lt;/span&gt;&lt;span class="nb"&gt;.&lt;/span&gt;
AWS Secret Access Key &lt;span class="o"&gt;[&lt;/span&gt;None]: &lt;span class="k"&gt;**&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;Access Key]&lt;span class="k"&gt;**&lt;/span&gt;&lt;span class="nb"&gt;.&lt;/span&gt;
Default Region Name &lt;span class="o"&gt;[&lt;/span&gt;None]: &lt;span class="k"&gt;**&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;region]&lt;span class="k"&gt;**&lt;/span&gt;&lt;span class="nb"&gt;.&lt;/span&gt;
Default output format &lt;span class="o"&gt;[&lt;/span&gt;None]: json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the place of &lt;strong&gt;[KEY_ID]&lt;/strong&gt; and &lt;strong&gt;[Access Key]&lt;/strong&gt;, we need to specify our id and the key generated when creating the user. In addition, in &lt;strong&gt;[region]&lt;/strong&gt; we specify the default region.&lt;/p&gt;

&lt;h3&gt;
  
  
  step 3
&lt;/h3&gt;

&lt;p&gt;After configuring the tool, we can check if we are able to connect to our account. To do this, we can run a sample command that will create a sample S3 bucket. The name of the bucket must be unique&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; aws s3api create-bucket &lt;span class="nt"&gt;--bucket&lt;/span&gt; bucket-20221206 &lt;span class="nt"&gt;--region&lt;/span&gt; us-east-1
&lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="s2"&gt;"Location"&lt;/span&gt;: &lt;span class="s2"&gt;"/bucket-20221206"&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now we can display the list of buckets:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; aws s3 &lt;span class="nb"&gt;ls
&lt;/span&gt;2022-12-06 15:29:29 bucket-20221206
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's worth deleting this bucket at the end:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; aws s3api delete-bucket &lt;span class="nt"&gt;--bucket&lt;/span&gt; bucket-20221206 &lt;span class="nt"&gt;--region&lt;/span&gt; us-east-1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;As I've shown in this tutorial, creating a free AWS account is simple and requires only registration on Amazon's website. Configuring the AWS CLI console is also not complicated and requires only a few minutes.&lt;/p&gt;

&lt;p&gt;Once you have configured the above tools, you can already start working with AWS using Infrastructure as code tools like &lt;a href="https://www.czerniga.it/category/terraform_en/" rel="noopener noreferrer"&gt;Terraform&lt;/a&gt;. Which I sincerely encourage you to do!&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
    </item>
    <item>
      <title>AWS, Azure or maybe Google Cloud? Which provider has the best CI/CD system?</title>
      <dc:creator>Patrycjusz Czerniga</dc:creator>
      <pubDate>Tue, 04 Oct 2022 10:16:08 +0000</pubDate>
      <link>https://forem.com/aws-builders/aws-azure-or-maybe-google-cloud-which-provider-has-the-best-cicd-system-866</link>
      <guid>https://forem.com/aws-builders/aws-azure-or-maybe-google-cloud-which-provider-has-the-best-cicd-system-866</guid>
      <description>&lt;p&gt;Choosing the best cloud for our business is very difficult. This is because each has its pros and cons. One important element to consider is also the CI/CD tools provided, which we can use to build and deploy solutions. &lt;/p&gt;

&lt;p&gt;I recently prepared a summary of the 24 most popular CI/CD tools. The list is available on this page: &lt;a href="https://www.czerniga.it/2022/03/27/find-your-best-ci-cd-tool" rel="noopener noreferrer"&gt;Best CI/CD tools&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyu4coorvidc0qge75rxb.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyu4coorvidc0qge75rxb.jpg" alt="Best CI/CD tools"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The list also includes 3 clouds (AWS, Azure, GCP), which I just want to compare in this article in the context of CI/CD.&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS CodePipeline
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnmi9wm1drfxusu4rbnzw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnmi9wm1drfxusu4rbnzw.png" alt="AWS CodePipeline"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS CodePipeline&lt;/strong&gt; is a fully managed CI/CD service that helps automate release processes to update applications and infrastructure quickly and reliably. It is a service that takes advantage of Amazon AWS cloud advantages such as integration with other internal services or the ability to pay for the service only as long as you need it.&lt;/p&gt;

&lt;p&gt;A guide on how to get started with AWS CodeBuild which is a component of CodePipeline can be found here: &lt;a href="https://www.czerniga.it/2022/02/21/prepare-the-first-ci-project-in-aws-codebuild" rel="noopener noreferrer"&gt;How to prepare your first CI project in AWS CodeBuild&lt;/a&gt;?&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h2&gt;
  
  
  Azure Pipelines
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5bmdzo84vcxlrrx6hqwh.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5bmdzo84vcxlrrx6hqwh.jpg" alt="Azure Pipelines"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure Pipelines&lt;/strong&gt; is a CI/CD service managed within the Microsoft Azure cloud. It enables the creation of CI processes in the cloud for Linux, macOS and Windows. In addition, it supports the development of web, desktop as well as mobile applications.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;A guide on how to get started with Azure Pipelines can be found here: &lt;a href="https://www.czerniga.it/2022/05/16/how-to-project-ci-in-azure-pipelines" rel="noopener noreferrer"&gt;How to prepare the first CI project in Azure Pipelines?&lt;/a&gt;?&lt;/p&gt;

&lt;h2&gt;
  
  
  GCP Cloud Build
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F73f8fxh7b73sxi0utsfe.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F73f8fxh7b73sxi0utsfe.jpg" alt="GCP Cloud Build"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GCP Cloud Build&lt;/strong&gt; is a CI/CD service managed within the Google Cloud Platform cloud. It allows fast software development in all programming languages, including Java, Go, Node.js and others. In addition, it allows for deployment in multiple environments, such as virtual machines, Kubernetes or Firebase.&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


</description>
      <category>aws</category>
      <category>azure</category>
      <category>cicd</category>
      <category>googlecloud</category>
    </item>
  </channel>
</rss>
