<?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>DEV Community: Lydia Ibuoye</title>
    <description>The latest articles on DEV Community by Lydia Ibuoye (@olaidelydia).</description>
    <link>https://dev.to/olaidelydia</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%2F2012286%2Fba4bcd2c-221e-496c-8ded-6735d12f21a4.png</url>
      <title>DEV Community: Lydia Ibuoye</title>
      <link>https://dev.to/olaidelydia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/olaidelydia"/>
    <language>en</language>
    <item>
      <title>Managing Your Data Efficiently; Creating a Lifecycle Rule on Amazon S3</title>
      <dc:creator>Lydia Ibuoye</dc:creator>
      <pubDate>Fri, 04 Oct 2024 13:27:11 +0000</pubDate>
      <link>https://dev.to/olaidelydia/managing-your-data-efficiently-creating-a-lifecycle-rule-on-amazon-s3-55l4</link>
      <guid>https://dev.to/olaidelydia/managing-your-data-efficiently-creating-a-lifecycle-rule-on-amazon-s3-55l4</guid>
      <description>&lt;p&gt;In today’s digital landscape, managing data efficiently is crucial for cost savings and operational effectiveness. Amazon S3 (Simple Storage Service) provides powerful features to help you automate the management of your stored objects. One of these features is the ability to create lifecycle rules, which allow you to automatically transition objects between different storage classes or delete them after a specified period. In this article, we will guide you through setting up lifecycle rules in S3, helping you optimize your storage usage and reduce costs while maintaining data accessibility.&lt;/p&gt;

&lt;p&gt;_*&lt;em&gt;What is a Lifecycle Rule?&lt;br&gt;
*&lt;/em&gt;_A lifecycle rule in Amazon S3 (Simple Storage Service) is a set of automated actions that you can define to manage the lifecycle of objects in your S3 buckets. These rules help you automatically transition objects between different storage classes, delete objects after a specified period, or perform other actions based on the age of the objects.&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%2Fzc48qt5mderri73pznez.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%2Fzc48qt5mderri73pznez.png" alt="Image description" width="245" height="206"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Key Features of Lifecycle Rules:&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Object Transitions: You can move objects to different storage classes (e.g., from S3 Standard to S3 Infrequent Access or S3 Glacier) based on how frequently they are accessed. This helps optimize storage costs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Expiration: You can set rules to automatically delete objects after a specified time period, which is useful for managing data retention and reducing storage costs for outdated data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Noncurrent Version Management: If versioning is enabled, you can create rules to manage noncurrent versions of your objects, including transitioning or expiring them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Custom Time Frames: Lifecycle rules can be based on the age of the objects (e.g., transitioning or expiring objects after a certain number of days from the time they were created).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cost Optimization: By using lifecycle rules, you can efficiently manage your storage costs by automatically moving less frequently accessed data to cheaper storage classes or deleting it when it is no longer needed.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;*&lt;em&gt;How to Create a Lifecycle Rule:&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
You can create lifecycle rules using the AWS Management Console, AWS CLI, or SDKs.&lt;br&gt;
You define the rule by specifying the prefix (or tag) for the objects it applies to, the actions to be taken, and the time frames for those actions.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;SCENARIO&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Let's say you want a file to move from S3 standard storage class (Designed for frequently accessed data) into Standard IA storage class (Designed for data that is less frequently accessed but requires rapid access when needed) after 30 days, and then into Glacier deep Archive (Designed for data that is rarely accessed) after 200 days and finally you want AWS to delete the object after 365 days.&lt;/p&gt;

&lt;p&gt;Are you Ready?&lt;br&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%2Fugz756mjfnohwa93j622.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%2Fugz756mjfnohwa93j622.png" alt="Image description" width="275" height="183"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lets go!!!!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;_Steps to creating this Lifecycle rule &lt;br&gt;
_&lt;/strong&gt;1. After creating a Bucket, Click on "Management"&lt;br&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%2F82h6huvwl0svz8gqm6gl.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%2F82h6huvwl0svz8gqm6gl.png" alt="Image description" width="800" height="188"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click "Create Lifecycle Rule"
&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%2Fm6243quq7xvky968ls9d.png" alt="Image description" width="800" height="197"&gt;
&lt;/li&gt;
&lt;li&gt;Name your Rule
&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%2F4438fssjtzck8ehwktyw.png" alt="Image description" width="800" height="295"&gt;
&lt;/li&gt;
&lt;li&gt;Check "Apply to all objects in the bucket" to make the rule affect the entire bucket and not just a file in the bucket. Acknowledge that you know what you have done
&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%2Fytyto5jq3dbvje9lgxmh.png" alt="Image description" width="800" height="216"&gt;
&lt;/li&gt;
&lt;li&gt;Check "Transition current versions of objects between storage classes" and check that you acknowledge that the lifecycle rule will incur a transition cost per request
&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%2Fynuib4zpk0onicilheig.png" alt="Image description" width="800" height="271"&gt;
&lt;/li&gt;
&lt;li&gt;Scroll down, select the storage class you want the file to first move into (In this case Standard IA) and the number of days this will take effect after which the file was created (In this case 30 days)
&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%2F5ho7snsg04grnil2zqzm.png" alt="Image description" width="800" height="329"&gt;
&lt;/li&gt;
&lt;li&gt;For the second stage, Click on "Add Transition" and modify it as well
&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%2Ff8onvc7hpgxvfzf5hbp2.png" alt="Image description" width="800" height="168"&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%2F6qdo32ef9zv8e9mrfgt3.png" alt="Image description" width="800" height="181"&gt;
&lt;/li&gt;
&lt;li&gt;To delete the object after 365 days, Select Expire current versions of objects under Lifecycle rule actions
&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%2Fbvk4qrshpab1ae311807.png" alt="Image description" width="800" height="275"&gt;
&lt;/li&gt;
&lt;li&gt;Scroll down and modify your action
&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%2Fr13k0incae1oghiz9tem.png" alt="Image description" width="800" height="189"&gt;
&lt;/li&gt;
&lt;li&gt;Review your Actions and Click "Save" 
&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%2Fse0c5e19ao86e58cy6j5.png" alt="Image description" width="800" height="333"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;NOTE: An expiration rule for current versions allows you to define a specific time frame (e.g., days after creation) after which the current version of an object will be automatically deleted. When a current version is expired and deleted, any previous versions of that object remain in the bucket, unless you also set rules to expire those as well.&lt;/p&gt;

&lt;p&gt;To edit or Delete your lifecycle rule, you can always select the rule and choose any of the actions&lt;br&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%2Fxc1abks3wb9c0wihcpf9.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%2Fxc1abks3wb9c0wihcpf9.png" alt="Image description" width="800" height="238"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congratulations!!!!! You have successfully created a Lifecycle Rule&lt;br&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%2Fdubzpdmi7tz5992v0evv.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%2Fdubzpdmi7tz5992v0evv.png" alt="Image description" width="200" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>HOSTING A STATIC WEBSITE ON AMAZON S3</title>
      <dc:creator>Lydia Ibuoye</dc:creator>
      <pubDate>Fri, 04 Oct 2024 11:47:00 +0000</pubDate>
      <link>https://dev.to/olaidelydia/hosting-a-static-website-on-s3-58j8</link>
      <guid>https://dev.to/olaidelydia/hosting-a-static-website-on-s3-58j8</guid>
      <description>&lt;p&gt;Hosting a static website doesn’t have to be complicated or expensive. Amazon S3 (Simple Storage Service) provides a simple, scalable, and cost-effective way to host your website without needing a web server. In this guide, I’ll walk you through the steps to set up and host your static site on S3, making it accessible to users across the globe. Whether you're a developer or just getting started, you'll find S3 an easy solution for your hosting needs.&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%2Fc8dn4pmuxb4ddhin1hri.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%2Fc8dn4pmuxb4ddhin1hri.png" alt="Image description" width="290" height="174"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Amazon S3 (Simple Storage Service)&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Amazon S3 is a cloud-based storage service provided by AWS (Amazon Web Services) that allows you to store and retrieve any amount of data at any time. It’s designed for scalability, reliability, and ease of use, making it ideal for a variety of applications like data backup, archiving, and, as we'll cover here, hosting static websites. With S3, you pay only for the storage and data transfer you use, making it a flexible and cost-effective solution.&lt;/p&gt;

&lt;p&gt;** Steps to Create an S3 Bucket:&lt;br&gt;
**&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Log in to AWS Console and search for "S3".
&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%2F2xx03jyzopfp59q1vn7s.png" alt="Image description" width="800" height="351"&gt;
&lt;/li&gt;
&lt;li&gt;Click “Create bucket” on the S3 dashboard.&lt;/li&gt;
&lt;li&gt;Enter Bucket Name and select a Region
&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%2Fux8gqrxz7jkn2z3l2upm.png" alt="Image description" width="800" height="348"&gt;
&lt;/li&gt;
&lt;li&gt;Disable ACLs as recommended to control access of the files
&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%2F2jis37kx272jbiaaoi1s.png" alt="Image description" width="800" height="364"&gt;
&lt;/li&gt;
&lt;li&gt;Uncheck 'Block all public access' and check that you acknowledge what you have done
&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%2Fai1o78gop3qiap3e732m.png" alt="Image description" width="800" height="355"&gt;
&lt;/li&gt;
&lt;li&gt;Review and Create the bucket.
&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%2Fp9u9uftia6jh8a9ndotu.png" alt="Image description" width="800" height="350"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Your bucket is now ready for use!&lt;/p&gt;

&lt;p&gt;Now that you have successfully created a bucket, let's look at the steps to uploading your static website on your S3 Bucket:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select the Bucket: Click the bucket name where you want to upload the file.
&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%2F5i1kw2f5mf4546yomjcz.png" alt="Image description" width="800" height="325"&gt;
&lt;/li&gt;
&lt;li&gt;Click “Upload”: On the bucket’s page, click the "Upload" button.
&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%2F6x75ab8et4icfsg33y0g.png" alt="Image description" width="800" height="334"&gt;
&lt;/li&gt;
&lt;li&gt;Click “Add files” to choose a file from your computer.
&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%2Fiyxygmzfdg3gl8n7u9eo.png" alt="Image description" width="800" height="449"&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%2Fu6pyx9a94hg0s2zb42z5.png" alt="Image description" width="800" height="342"&gt;
&lt;/li&gt;
&lt;li&gt;Review and Upload: Review settings and click “Upload” to add the file.
&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%2Fmmzdasoj91bv8nq92o6n.png" alt="Image description" width="800" height="356"&gt;
&lt;/li&gt;
&lt;li&gt;Navigate to "Properties" and scroll down to Static Website Hosting
&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%2F1lpre6oux6v3avykk2qq.png" alt="Image description" width="800" height="312"&gt;
&lt;/li&gt;
&lt;li&gt;Click "Edit" and then select "Enable"
&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%2Fppz4bxkfbl2o9qjoq7a9.png" alt="Image description" width="800" height="344"&gt;
&lt;/li&gt;
&lt;li&gt;Leave on "Host a Static Website"&lt;/li&gt;
&lt;li&gt;Enter the home page of your static file e.g. "Index.html", you can also upload an error page "Error.html" such as "404! This page doesn't exist which can be edited using tools like VS Code 
&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%2Fthuimaland3kdzhy4yvu.png" alt="Image description" width="800" height="329"&gt;
&lt;/li&gt;
&lt;li&gt;Click on "Save changes"
&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%2Foaz5ao59vxv2kviaucy4.png" alt="Image description" width="800" height="356"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can always access your website using this link&lt;br&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%2F4f8q2bisyf4syd2co1t9.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%2F4f8q2bisyf4syd2co1t9.png" alt="Image description" width="800" height="196"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congratulations on successfully hosting your website on Amazon S3&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%2F9de3j1dqc8j5zgdj09qt.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%2F9de3j1dqc8j5zgdj09qt.png" alt="Image description" width="304" height="166"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>SETTING UP A COST EFFECTIVE AWS ENVIRONMENT FOR A SMALL TECH STARTUP</title>
      <dc:creator>Lydia Ibuoye</dc:creator>
      <pubDate>Sun, 01 Sep 2024 21:46:10 +0000</pubDate>
      <link>https://dev.to/olaidelydia/setting-up-a-cost-effective-aws-environment-2l6o</link>
      <guid>https://dev.to/olaidelydia/setting-up-a-cost-effective-aws-environment-2l6o</guid>
      <description>&lt;p&gt;Are you running or launching a small tech startup? Are you considering AWS for your cloud needs but worried that AWS might be too costly for your startup?&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%2Fre50b0g1wft78tyrqfka.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%2Fre50b0g1wft78tyrqfka.png" alt="Image description" width="498" height="372"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do not worry because I'm here to show you how to leverage its full potential without breaking the bank. Let's turn your vision into reality with a smart, cost-effective AWS setup!&lt;/p&gt;

&lt;h2&gt;
  
  
  GET FAMILIAR WITH AWS
&lt;/h2&gt;

&lt;p&gt;Amazon Web Services (AWS) is a cloud platform that provides essential tools like computing power, storage, and databases over the internet. For a tech startup, AWS can help you quickly build, scale, and manage your applications while keeping costs flexible and manageable.&lt;/p&gt;

&lt;h2&gt;
  
  
  CREATING AN AWS FREE TIER ACCOUNT
&lt;/h2&gt;

&lt;p&gt;The AWS Free Tier lets new users explore AWS services at no cost,It includes both a 12-month introductory period and some services that are always free. It’s perfect for testing and getting started without upfront costs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&amp;amp;all-free-tier.sort-order=asc&amp;amp;awsf.Free%20Tier%20Types=*all&amp;amp;awsf.Free%20Tier%20Categories=*all" rel="noopener noreferrer"&gt;AWS Free Tier Account&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;using the link, you can either cick on the "Sign in to the console" Option or the "Create a free account"&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%2F2kl9uiz4mdduj2tugph2.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%2F2kl9uiz4mdduj2tugph2.png" alt="Image description" width="800" height="461"&gt;&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%2Fv1b1zpfvqg0mlurwmch5.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%2Fv1b1zpfvqg0mlurwmch5.png" alt="Image description" width="800" height="497"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Enter your details and provide the necessary informations to get started. After setting up, you will get a mail from AWS on successfully setting up your AWS account. &lt;/p&gt;

&lt;p&gt;Understand that AWS recognises identity especially a User. Which brings us to the types of Users in AWS&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Root&lt;/em&gt; &lt;em&gt;User&lt;/em&gt;; This is the initial user that comes with AWS upon creating a new account. Basically, this user is whom the account was created for.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;IAM&lt;/em&gt; &lt;em&gt;User&lt;/em&gt;; Also known as the Identity and Access Management. This User manages the access to AWS resources.Creating IAM users with specific privileges enhances security by limiting access, improves control over resources, enables tracking and auditing of actions, and helps meet compliance requirements.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;__NOTE; The Root User is best used sparingly, with daily tasks handled by IAM users to ensure security.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- AWS MANAGEMENT CONSOLE&lt;/strong&gt;&lt;br&gt;
The AWS Management Console is a web-based interface that allows users to access and manage their Amazon Web Services (AWS) resources. It provides a user-friendly dashboard where you can interact with various AWS services, such as EC2 (compute), S3 (storage), RDS (databases), and more. The console supports a variety of functions, including resource monitoring, configuration, and deployment. Here’s a more detailed explanation of the &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;key features of the AWS Management Console&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Dashboard&lt;/strong&gt;:&lt;br&gt;&lt;br&gt;
The dashboard is your home base when you log into the AWS console. It offers a visual overview of your AWS environment, showing recently used services and essential metrics like performance and cost summaries. This helps you quickly access services and keep an eye on your resources.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Search Bar&lt;/strong&gt;:&lt;br&gt;&lt;br&gt;
At the top of the console, the search bar allows you to find services instantly by typing their name. For example, if you're looking for S3 storage, you can simply type "S3" in the search bar, and it will take you directly to that service. It’s a fast way to navigate instead of scrolling through menus.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Services Menu&lt;/strong&gt;:&lt;br&gt;&lt;br&gt;
This is a drop-down menu that lists all AWS services. It is organized by categories, such as Compute (e.g., EC2), Storage (e.g., S3), and Databases (e.g., RDS). You can explore the various services here, making it a great place to discover new tools AWS offers for your cloud needs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Resource Management&lt;/strong&gt;:&lt;br&gt;&lt;br&gt;
Within each service, you can create, modify, and monitor resources. For instance, in EC2 (Elastic Compute Cloud), you can launch virtual machines, change their configurations, or stop them. In S3, you can upload files, organize them into buckets, and manage access permissions. This section also provides detailed performance data for your resources.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Billing &amp;amp; Cost Management&lt;/strong&gt;:&lt;br&gt;&lt;br&gt;
AWS helps you keep track of your cloud spending. The billing section lets you see a breakdown of your costs by service, set budgets, and monitor your usage to avoid surprises. You can also receive notifications when your spending exceeds a predefined limit.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;CloudShell&lt;/strong&gt;:&lt;br&gt;&lt;br&gt;
AWS CloudShell is a built-in command-line tool within the console. It allows you to run AWS CLI (Command Line Interface) commands without needing to set up the CLI on your local machine. You can quickly automate tasks or interact with resources directly using command-line inputs.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It’s designed to make it simple to navigate and manage your AWS resources, even if you’re new to cloud computing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tips for Effective Navigation in the AWS Management Console&lt;br&gt;
**&lt;br&gt;
Here are some concise tips for effective navigation in the **AWS Management Console&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Use the Search Bar&lt;/strong&gt;: Quickly find services by typing their names.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pin Services&lt;/strong&gt;: Pin frequently used services for easy access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explore Categories&lt;/strong&gt;: Browse services by category when unsure of specific names.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create Resource Groups&lt;/strong&gt;: Group related resources for easier management.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the Region&lt;/strong&gt;: Ensure you're in the right region for managing your resources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Leverage CloudShell&lt;/strong&gt;: Run AWS CLI commands directly within the console.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitor the Dashboard&lt;/strong&gt;: Regularly check for key metrics and alerts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set Billing Alerts&lt;/strong&gt;: Get notifications to manage costs effectively.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These tips will help you navigate the AWS console efficiently!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- NAVIGATING AWS SERVICES&lt;/strong&gt;&lt;br&gt;
Navigating AWS services is straightforward once you get the hang of it. Here’s a simple guide for a newbie:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sign In&lt;/strong&gt;: Log in to the AWS Management Console at &lt;a href="https://aws.amazon.com/" rel="noopener noreferrer"&gt;AWS&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Dashboard&lt;/strong&gt;: You’ll land on the AWS Management Console dashboard, where you can see a list of services.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Find a Service&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use the search bar at the top to type the service name (e.g., “EC2” for virtual servers or “S3” for storage).&lt;/li&gt;
&lt;li&gt;Alternatively, click on the &lt;strong&gt;Services&lt;/strong&gt; menu to browse through categories like &lt;strong&gt;Compute&lt;/strong&gt;, &lt;strong&gt;Storage&lt;/strong&gt;, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Access a Service&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;EC2&lt;/strong&gt;: Click on “EC2” to manage virtual servers. Here, you can launch, stop, or configure instances.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;S3&lt;/strong&gt;: Click on “S3” to manage storage. You can create and manage buckets, upload files, and set permissions.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Explore Features&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each service has a menu or sidebar with options to perform various tasks. For example, in EC2, you can view instances, create new ones, or check settings.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Help and Documentation&lt;/strong&gt;: Use the &lt;strong&gt;Help&lt;/strong&gt; menu for guides and FAQs if you need assistance.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With these steps, you can easily navigate and start using AWS services!&lt;/p&gt;

&lt;h2&gt;
  
  
  SOME COMPONENTS OF IAM
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Users&lt;/li&gt;
&lt;li&gt;User Groups&lt;/li&gt;
&lt;li&gt;Policies&lt;/li&gt;
&lt;li&gt;Roles&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;__&lt;strong&gt;STEPS TO CREATING IAM USER&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Type IAM on the AWS search bar or click on services and selsct IAM from the list of services AWS offers&lt;/li&gt;
&lt;/ol&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%2Fv0g7sdnts69y7w31n3mk.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%2Fv0g7sdnts69y7w31n3mk.png" alt="Image description" width="800" height="457"&gt;&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%2Fp52gd0zqu94tmw5tmvet.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%2Fp52gd0zqu94tmw5tmvet.png" alt="Image description" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click on IAM&lt;/li&gt;
&lt;li&gt;Click on Users&lt;/li&gt;
&lt;li&gt;Select "Create User"&lt;/li&gt;
&lt;li&gt;Enter a User name &lt;/li&gt;
&lt;li&gt;Check the "Provide user access to the AWS management console"&lt;/li&gt;
&lt;li&gt;Select "I want to create an "IAM User"&lt;/li&gt;
&lt;li&gt;Click on Custom password and create a Password for the account&lt;/li&gt;
&lt;li&gt;Check "User must create a new password at the next sign in"&lt;/li&gt;
&lt;li&gt;Click next&lt;/li&gt;
&lt;li&gt;Select "Attach policies directly"&lt;/li&gt;
&lt;li&gt;Scroll to the bottom and click on next&lt;/li&gt;
&lt;li&gt;Review all you have done&lt;/li&gt;
&lt;li&gt;Click next&lt;/li&gt;
&lt;li&gt;Download CSV file which contains the user details&lt;/li&gt;
&lt;li&gt;Select "Return to the user's list"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Congratulations!!!!! You have successfully created a IAM user in 2 minutes &lt;/p&gt;

&lt;p&gt;&lt;em&gt;NOTE; To create an IAM user that can perform like a Root user, you must Check "Administrative access" after attaching your policies (step 11)&lt;/em&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%2Fnmu39364ek5nejjdqtnt.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%2Fnmu39364ek5nejjdqtnt.png" alt="Image description" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- CREATING A USER GROUPS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Creating IAM groups is important because it simplifies management, ensures consistent permissions, streamlines access changes, and enhances security by grouping users with similar roles.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;- Steps to Creating user groups&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select User groups  on you IAM dashboard&lt;/li&gt;
&lt;/ol&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%2F7ivf4pusyf3ic8bmrwo7.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%2F7ivf4pusyf3ic8bmrwo7.png" alt="Image description" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click on "Create group"&lt;/li&gt;
&lt;li&gt;Scroll to the bottom and click create user group&lt;/li&gt;
&lt;li&gt;Enter a group name e.g IT Department&lt;/li&gt;
&lt;li&gt;Click on "add user"&lt;/li&gt;
&lt;li&gt;Select the users you want to add to the group&lt;/li&gt;
&lt;li&gt;Click on permission&lt;/li&gt;
&lt;li&gt;Select the permissions you want to attach to the group e.g S3,Read Only,etc&lt;/li&gt;
&lt;li&gt;Click Add Permission&lt;/li&gt;
&lt;li&gt;Select Attach policy&lt;/li&gt;
&lt;li&gt;Scroll down and select "Create User Group"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All done !!!!!&lt;/p&gt;

&lt;p&gt;_****_Troubleshooting tips &lt;/p&gt;

&lt;p&gt;_&lt;strong&gt;1. **Check Permissions&lt;/strong&gt;: Ensure you have the right permissions to create and manage user groups.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Verify Group Name&lt;/strong&gt;: Make sure the group name is unique and doesn’t conflict with existing names.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review Policies&lt;/strong&gt;: Confirm that any attached policies are correctly set and provide the necessary permissions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Refresh the Console&lt;/strong&gt;: Sometimes changes take a moment to appear. Refresh the AWS Management Console if you don’t see the new group right away.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check for Errors&lt;/strong&gt;: Look for any error messages and follow the prompts or guidelines provided.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These steps can help resolve common issues when setting up user groups.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;-POLICY&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In AWS, a policy is a set of rules that defines what actions users can perform on resources. It’s important because it controls access, enhances security, simplify management and helps meet security and regulatory requirements. In a nutshell, Policies ensure that users have the right access while keeping their AWS environment secure.It is also a collection of permission.&lt;/p&gt;

&lt;p&gt;AWS policies come in different types:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Managed Policies&lt;/strong&gt;: Predefined policies created and maintained by AWS. They provide common permissions for various AWS services and are updated automatically by AWS.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Customer Managed Policies&lt;/strong&gt;: Custom policies created and managed by you. They allow you to define specific permissions tailored to your needs.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These types of policies help you manage access and permissions according to your requirements.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;- STEPS TO CREATING A POLICY&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click on Policy on the IAM dashbord&lt;/li&gt;
&lt;/ol&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%2Fymqg5uiue0ptsxdgmk0q.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%2Fymqg5uiue0ptsxdgmk0q.png" alt="Image description" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Cick on Create Policy&lt;/li&gt;
&lt;/ol&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%2Fck2pfqvvb077uu1ckcue.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%2Fck2pfqvvb077uu1ckcue.png" alt="Image description" width="800" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select JSON &lt;/li&gt;
&lt;/ol&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%2F15nbog5o5oqpuny0cu4p.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%2F15nbog5o5oqpuny0cu4p.png" alt="Image description" width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Get the policy code either from AWS documentation, Stack overflow, ChatGPT, etc &lt;/li&gt;
&lt;li&gt;Paste the code&lt;/li&gt;
&lt;li&gt;Scroll down and Select next&lt;/li&gt;
&lt;li&gt;Name the code e.g Grant-S3-full-access&lt;/li&gt;
&lt;li&gt;Type an Info about the policy&lt;/li&gt;
&lt;li&gt;Click on create policy&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Congratulations on creating a Policy on AWS&lt;br&gt;
Here are some troubleshooting tips for creating AWS policies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Check Syntax&lt;/strong&gt;: Make sure your policy JSON is correctly formatted. Use AWS’s policy validator tool to help.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify Permissions&lt;/strong&gt;: Ensure the actions and resources in your policy match what you need.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attach Correctly&lt;/strong&gt;: Confirm the policy is attached to the right IAM user, group, or role.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review Limits&lt;/strong&gt;: Ensure the policy doesn’t exceed any AWS service limits.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These steps can help fix common issues with AWS policies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- PERMISSIONS&lt;/strong&gt;&lt;br&gt;
Permissions in AWS decide what actions you or your services can do with your resources. They are like rules that say:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What You Can Do: Such as reading or writing data.&lt;/li&gt;
&lt;li&gt;Where You Can Do It: Like on a specific S3 bucket or EC2 instance.&lt;/li&gt;
&lt;li&gt;Allow or Deny: Whether you’re allowed or denied to perform the action.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Permissions help keep your AWS environment secure by making sure everyone can only do what they need to do.&lt;/p&gt;

&lt;p&gt;AWS Permissions include;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Read&lt;/strong&gt;: Allows viewing or retrieving data, like reading files in an S3 bucket.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write&lt;/strong&gt;: Permits creating, updating, or deleting data, such as uploading files to S3 or modifying instances in EC2.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;List&lt;/strong&gt;: Enables viewing lists of resources, like seeing all objects in an S3 bucket.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tagging&lt;/strong&gt;: Allows adding or modifying tags on resources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Admin&lt;/strong&gt;: Grants full control over resources, including managing permissions and configurations.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Each permission type helps define what actions are allowed or denied for users and services.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- ROLES AS A COMPONENT OF IAM&lt;/strong&gt;&lt;br&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%2Fg6jagnucgo70583sxks6.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%2Fg6jagnucgo70583sxks6.png" alt="Image description" width="800" height="455"&gt;&lt;/a&gt;&lt;br&gt;
Roles an be referred to as an identity or a label/hat that provides temporary permissions. It allows users, applications, or services to assume specific access rights without needing long-term credentials, supports cross-account access, and enhances security by granting only the necessary permissions.Roles can also be attached to users and other services.&lt;/p&gt;

&lt;p&gt;**1.2 AMAZON SIMPLE STORAGE SERVICE (S3)&lt;br&gt;
**Amazon S3 is a scalable, secure, and durable cloud storage service that allows you to store, manage, and retrieve any amount of data from anywhere on the web. It’s designed for reliability and cost-effectiveness for a variety of storage needs.&lt;/p&gt;

&lt;p&gt;Key Features of Amazon S3:&lt;br&gt;
Object Storage:&lt;br&gt;
Stores data as objects in buckets, supporting files up to 5 TB in size.&lt;/p&gt;

&lt;p&gt;High Durability &amp;amp; Availability:&lt;br&gt;
Provides 11 nines of durability by replicating data across multiple locations.&lt;/p&gt;

&lt;p&gt;Scalability:&lt;br&gt;
Automatically scales to handle unlimited data storage needs.&lt;/p&gt;

&lt;p&gt;Flexible Access Control:&lt;br&gt;
Fine-grained permissions with AWS IAM for secure access to buckets and objects.&lt;/p&gt;

&lt;p&gt;Cost-Effective Storage Classes:&lt;br&gt;
Supports different storage classes (Standard, Infrequent Access, Glacier) to optimize costs based on data access frequency.&lt;/p&gt;

&lt;p&gt;These points cover the essential features of Amazon S3 in a simple way.&lt;/p&gt;

&lt;p&gt;** Steps to Create an S3 Bucket:&lt;br&gt;
**&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Log in to AWS Console and search for "S3".
&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%2F2xx03jyzopfp59q1vn7s.png" alt="Image description" width="800" height="351"&gt;
&lt;/li&gt;
&lt;li&gt;Click “Create bucket” on the S3 dashboard.&lt;/li&gt;
&lt;li&gt;Enter Bucket Name and select a Region
&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%2Fux8gqrxz7jkn2z3l2upm.png" alt="Image description" width="800" height="348"&gt;
&lt;/li&gt;
&lt;li&gt;Disable ACLs as recommended
&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%2F2jis37kx272jbiaaoi1s.png" alt="Image description" width="800" height="364"&gt;
&lt;/li&gt;
&lt;li&gt;Uncheck 'Block all public access' and check that you acknowledge what you have done
&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%2Fai1o78gop3qiap3e732m.png" alt="Image description" width="800" height="355"&gt;
&lt;/li&gt;
&lt;li&gt;Review and Create the bucket.
&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%2Fp9u9uftia6jh8a9ndotu.png" alt="Image description" width="800" height="350"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Your bucket is now ready for use!&lt;/p&gt;

&lt;p&gt;Now that you have successfully created a bucket, let's look at the steps involved in adding a file into the bucket&lt;/p&gt;

&lt;h3&gt;
  
  
  Steps to Upload a File to an S3 Bucket:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Log in to AWS Console and navigate to &lt;strong&gt;S3&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select the Bucket: Click the name of the bucket where you want to upload the file.
&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%2F5i1kw2f5mf4546yomjcz.png" alt="Image description" width="800" height="325"&gt;
&lt;/li&gt;
&lt;li&gt;Click “Upload”: On the bucket’s page, click the "Upload" button.
&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%2F6x75ab8et4icfsg33y0g.png" alt="Image description" width="800" height="334"&gt;
&lt;/li&gt;
&lt;li&gt;Click “Add files” to choose a file from your computer.
&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%2Fiyxygmzfdg3gl8n7u9eo.png" alt="Image description" width="800" height="449"&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%2Fu6pyx9a94hg0s2zb42z5.png" alt="Image description" width="800" height="342"&gt;
&lt;/li&gt;
&lt;li&gt;Set Permissions (Optional): Adjust access permissions (e.g., public or private).&lt;/li&gt;
&lt;li&gt;Review and Upload: Review settings and click “Upload” to add the file.
&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%2Fmmzdasoj91bv8nq92o6n.png" alt="Image description" width="800" height="356"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Congrats on successfully uploading an object into your S3 bucket&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;_1.3 AMAZON EC2 &lt;br&gt;
_&lt;/strong&gt;&lt;br&gt;
Amazon EC2 (Elastic Compute Cloud) is a web service that provides scalable virtual servers in the cloud. It allows you to launch and manage virtual machines, called instances, which can run applications, host websites, or perform data processing. With EC2, you can choose the operating system, configure the instance size, and scale resources as needed, paying only for the capacity you use.&lt;/p&gt;

&lt;h3&gt;
  
  
  Uses of Amazon EC2:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Web Hosting: Host websites and applications with scalable compute resources.&lt;/li&gt;
&lt;li&gt;Running Applications: Deploy applications, such as databases, gaming servers, or software testing environments.&lt;/li&gt;
&lt;li&gt;Big Data Processing: Perform large-scale data analysis, including data mining, machine learning, and simulations.&lt;/li&gt;
&lt;li&gt;Development &amp;amp; Testing: Create development, testing, and staging environments for software applications.&lt;/li&gt;
&lt;li&gt;Backup &amp;amp; Recovery: Run backup solutions or disaster recovery services with on-demand scalability.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;EC2 provides flexible, on-demand computing power for various workloads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- CONCLUSION&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Setting up a cost-effective AWS environment involves understanding and leveraging AWS services efficiently. Start by using the AWS Free Tier to explore and experiment without incurring costs. Create IAM users and groups with specific permissions to ensure security and manage access effectively. Implement policies to define and control permissions clearly, and use roles to grant temporary, flexible access. By following these practices, you can optimize your AWS setup to be both secure and budget-friendly, supporting your tech startup’s growth and success.&lt;/p&gt;

&lt;p&gt;CONGRATULATIONS ON COMING THIS FAR, REMEMBER TO LEAVE YOUR QUESTIONS IN THE COMMENTS&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%2F1k2fvx70gudddy94d493.gif" 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%2F1k2fvx70gudddy94d493.gif" alt="Image description" width="320" height="320"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloudskills</category>
      <category>cloudcomputing</category>
    </item>
  </channel>
</rss>
