<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aaditya Paliwal on Medium]]></title>
        <description><![CDATA[Stories by Aaditya Paliwal on Medium]]></description>
        <link>https://medium.com/@aadityapaliwal10?source=rss-df3b7ee470c7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pZls4nemVIPQOOaM</url>
            <title>Stories by Aaditya Paliwal on Medium</title>
            <link>https://medium.com/@aadityapaliwal10?source=rss-df3b7ee470c7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 00:14:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aadityapaliwal10/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Routing Critical AWS Health Events from multiple AWS Accounts to PagerDuty]]></title>
            <link>https://medium.com/@aadityapaliwal10/routing-critical-aws-health-events-from-multiple-aws-accounts-to-pagerduty-2b2d715f3263?source=rss-df3b7ee470c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b2d715f3263</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-health-events]]></category>
            <category><![CDATA[aws-health]]></category>
            <dc:creator><![CDATA[Aaditya Paliwal]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 17:03:28 GMT</pubDate>
            <atom:updated>2026-10-12T17:03:28.648Z</atom:updated>
            <content:encoded><![CDATA[<h3>Identifiying Critical AWS Health Events from 20+ Accounts to PagerDuty</h3><p>AWS Health already knows when something is wrong with your cloud; the hard part is deciding which of those events deserves a human at 3 a.m. This post shows how we send AWS Health events from an entire AWS Organization into PagerDuty, and how a critical services map decides whether an event pages anyone.</p><h3>The problem: too many accounts, too much signal</h3><p>When you run a handful of accounts, the AWS Health Dashboard is enough. When you run 30 or more, it stops being a workable tool. Each account has its own view, events arrive in different shapes, and a scheduled maintenance notice for a dev sandbox looks just like an operational issue in the account that runs your payment path.</p><p>We had two bad options. We could page on everything and train on-call engineers to ignore the pager, or we could page on nothing and find out about service impact from customers. Neither is acceptable for a cloud platform team that owns availability.</p><p>Our approach is a third route. We collect Health events centrally, evaluate each one against a map of critical services, and only then decide how loudly to raise it. A live issue on a critical production service pages the on-call engineer. Everything else still becomes an incident, but a quiet one that people review during working hours.</p><p>The solution covers 20+ accounts today, and the code is reusable, so bringing the remaining accounts in is a configuration change rather than a rebuild.</p><h3>The solution at a glance</h3><p>One rule, one Lambda function and two small maps decide whether an AWS Health event pages anyone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V2fBhf39Aex6SJoNSVhwqQ.png" /></figure><p>Everything except the member accounts and PagerDuty lives in one delegated administrator account. Health events from the member accounts flow through a single EventBridge rule into the triage Lambda. The Lambda reads the S3 and Parameter Store maps and the PagerDuty key, then sends one event to PagerDuty with a severity that decides whether it pages.</p><h3>Step 1: Collect Health events for the whole organization</h3><p>The foundation is the AWS Health organizational view, which gives one account a single feed of Health events from every member account. We first ran without it and added it once coverage grew, because maintaining separate rules in each account does not scale.</p><p>The setup has three parts:</p><ol><li><strong>Turn on organizational view.</strong> From the management account, enable AWS Health access for the organization.</li><li><strong>Register a delegated administrator.</strong> Pick a dedicated operations account and register it as the Health delegated administrator. Alerting then lives there, and the management account stays out of day-to-day operations.</li></ol><pre># Run from the management account<br>aws health enable-health-service-access-for-organization</pre><pre>aws organizations register-delegated-administrator \<br>  --account-id &lt;OPS_ACCOUNT_ID&gt; \<br>  --service-principal health.amazonaws.com</pre><p><strong>Create the EventBridge rule in that account.</strong> One rule matches every event from the aws.health source with the AWS Health Event detail type.</p><pre>{<br>  &quot;source&quot;: [&quot;aws.health&quot;],<br>  &quot;detail-type&quot;: [&quot;AWS Health Event&quot;]<br>}</pre><p>We deliberately keep the rule broad. Trying to express “critical” in an event pattern gets unreadable fast, and it forces a deployment every time the definition changes. The rule only collects; the Lambda function decides.</p><p>Two scoping decisions are worth copying. We run the rule only in us-east-1 and us-west-2 and ignore the other regions, which keeps the alerting surface small and predictable. AWS Health also delivers events for global services in us-east-1, so that region matters even if you run nothing else there. And because the organization is on Enterprise Support, the Health API is also available for backfilling or looking up event details when needed.</p><p>Each event arrives with the fields the routing logic needs: the affected service, the category (issue, scheduledChange or accountNotification), the status, the event ARN, the region and the affected account ID.</p><h3>Step 2: Define “critical” in two small maps</h3><p>The heart of the design is the input map that is evaluated before anything reaches PagerDuty. It answers one question: for an event on this service, in this environment, is it worth a page?</p><p>A Health event tells you the affected account and service, but not whether the account is production. So the answer comes from two maps, each kept where it is easiest to maintain.</p><h3>Critical services by environment (Parameter Store)</h3><p>The list of services that matter lives in AWS Systems Manager Parameter Store, keyed on environment. Parameter Store suits this because changes take effect without redeploying the Lambda, every edit creates an auditable version, and access is controlled with ordinary IAM. The service names are the Health service codes, exactly as they appear in the event:</p><pre>{<br>  &quot;prod&quot;: [&quot;EC2&quot;, &quot;RDS&quot;, &quot;ELASTICLOADBALANCING&quot;, &quot;LAMBDA&quot;, &quot;DYNAMODB&quot;, &quot;ROUTE53&quot;],<br>  &quot;nonprod&quot;: []<br>}</pre><p>An empty list for non-production means nothing there ever pages, which is the point.</p><h3>Account to environment (S3)</h3><p>The second map says which environment each account belongs to, along with its business unit and other account details. It lives as a JSON object in an S3 bucket, and nobody has to maintain it by hand. Our account-creation process writes the new account’s number, environment, business unit and related metadata to the bucket as part of provisioning, so the map is current from the moment an account exists. Turn on bucket versioning so every change can be traced and rolled back:</p><pre>{<br>  &quot;111111111111&quot;: &quot;prod&quot;,<br>  &quot;222222222222&quot;: &quot;prod&quot;,<br>  &quot;333333333333&quot;: &quot;nonprod&quot;<br>}</pre><p>The Lambda reads both maps at run time and caches them briefly in memory. A burst of events does not hammer either store, and an edit to a map still takes effect within minutes.</p><p>The Lambda reads both maps at run time and caches them briefly in memory. A burst of events does not hammer either store, and an edit to a map still takes effect within minutes.</p><p>Because the map is written at account creation, a missing account should be rare. If one slips through, for example when provisioning is delayed, the function treats it as unknown. It never pages, but it still creates a low-urgency incident, so the gap is visible instead of silent.</p><h3>Step 3: The triage Lambda decides who gets woken up</h3><p>Every Health event lands in a Python Lambda function that makes the same three checks in the same order. The order matters, because each check narrows the set of events that can page.</p><ol><li><strong>Which environment is this account in?</strong> The function looks the account up in the S3 map. An unknown account can never page.</li><li><strong>Is the service on that environment’s critical list?</strong> It compares the event’s service with the Parameter Store list. Non-production lists are empty, so they fail this check by design.</li><li><strong>Is the category </strong><strong>issue?</strong> Only a live issue is worth a page. Scheduled changes and account notifications matter, but they can wait for business hours.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KCG3lOdvk76SpjDWunoZaA.png" /></figure><p>Each “no” sends the event down the quiet path. Only an event that clears all three checks pages anyone.</p><h3>Step 4: Send one severity-driven event to PagerDuty</h3><p>The PagerDuty side is deliberately simple: one service with one Events API v2 integration, and therefore one integration key. The Lambda does not choose between destinations. It chooses a severity, and PagerDuty turns that into urgency.</p><ul><li>A critical severity creates a high-urgency incident that pages the on-call engineer through the escalation policy.</li><li>An info severity creates a low-urgency incident that appears in the incident list and does not page anyone.</li></ul><p>This works when the PagerDuty service is set to derive incident urgency from the alert severity, instead of using a fixed urgency. With that setting, one key covers both outcomes, and you do not have to maintain two services and two secrets.</p><h3>Why the dedup key is the event ARN plus the account ID</h3><p>Every AWS Health event has a unique ARN, and we combine it with the affected account ID to build the PagerDuty dedup key. With the organizational view, one AWS event can affect several of your accounts at once. If the ARN were the only key, PagerDuty would collapse them into a single incident and you would lose track of which accounts are impacted. With ARN plus account, each affected account gets its own incident.</p><p>The same key makes the pipeline safe to retry. If EventBridge redelivers an event, or Health sends an update on an open event, the message lands on the same PagerDuty alert instead of creating a duplicate. When Health marks the event closed, the Lambda sends a resolve action with the same key, and the incident closes without anyone touching it.</p><h3>What this gives us, and what comes next</h3><p>Alerts for the organization’s accounts now flow into PagerDuty, and a live issue on a critical production service creates an incident and pages the on-call engineer. Everything else is still recorded, just quietly.</p><p>The clear win is that we are proactive: when AWS reports a problem, we can check the impact on our own services and escalate before customers tell us.</p><p>A few lessons carry over to any team building something similar:</p><ul><li><strong>Keep the rules in data, not code.</strong> A map you can edit in minutes stays accurate longer than a pattern buried in a deployment.</li><li><strong>Start with a short critical list.</strong> A short list that pages rarely beats a long one people learn to ignore. Add services when an incident exposes a gap.</li><li><strong>Always keep a quiet path.</strong> Events that do not page should still become incidents, so nothing is lost.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b2d715f3263" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VPC Flow Logs Ingestion to Amazon OpenSearch]]></title>
            <link>https://medium.com/@aadityapaliwal10/vpc-flow-log-ingestion-to-opensearch-using-opensearch-ingestion-pipeline-ea3da974dead?source=rss-df3b7ee470c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea3da974dead</guid>
            <category><![CDATA[cross-account-ingestion]]></category>
            <category><![CDATA[opensearch-dashboard]]></category>
            <category><![CDATA[logging-and-monitoring]]></category>
            <category><![CDATA[aws-opensearch]]></category>
            <category><![CDATA[vpc-flow-logs]]></category>
            <dc:creator><![CDATA[Aaditya Paliwal]]></dc:creator>
            <pubDate>Fri, 13 Feb 2026 04:53:48 GMT</pubDate>
            <atom:updated>2026-02-13T04:55:34.010Z</atom:updated>
            <content:encoded><![CDATA[<h3>How We Ingested 500+ GB/Day of VPC Flow Logs into OpenSearch (Across 20+ AWS Accounts) using OpenSearch Ingestion Pipeline</h3><p>When your AWS Organization crosses 20 accounts and spans multiple regions, VPC Flow Logs stop being a feature and start becoming a system.</p><p>At 500+ GB per day — and growing — logging becomes an engineering problem. Not a checkbox. Not a dashboard toggle. A distributed systems problem.</p><p>This is how we built a centralized, cross-account, event-driven pipeline into OpenSearch that survives scale, disk pressure, and rapid growth.</p><p>And yes — we hit cluster RED along the way.</p><h3>The Reality of Scale</h3><p>Our environment looked like this:</p><ul><li>20+ AWS accounts</li><li>Multiple regions per account</li><li>All VPC Flow Logs enabled</li><li>Central S3 consolidation</li><li>Separate analytics account running OpenSearch</li><li>90-day retention</li><li>Okta SSO</li></ul><p>At 500 GB per day, you are ingesting roughly <strong>15 TB per month</strong>.</p><p>That’s not logs. That’s infrastructure.</p><h3>Architecture: Designed for Growth</h3><p>We intentionally separated responsibilities:</p><ul><li><strong>Spoke Accounts</strong> → Generate logs</li><li><strong>Logging Account</strong> → Stores logs in S3</li><li><strong>Analytics Account</strong> → Ingests and indexes logs</li><li><strong>Okta</strong> → Handles authentication</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YEpQ-NlAIbdIi9nZ_fFhzA.png" /></figure><p>The ingestion path looks like this:</p><p>Spoke Accounts</p><p>→ Central S3 Bucket</p><p>→ S3 Event</p><p>→ SNS</p><p>→ SQS</p><p>→ OpenSearch Ingestion (OSI)</p><p>→ OpenSearch Cluster</p><p>This event-driven design prevents polling chaos and gives us buffering via SQS.</p><p>Buffers save distributed systems.</p><h3>Why Event-Driven Instead of Polling?</h3><p>Polling S3 at TB scale means:</p><ul><li>Excess API calls</li><li>Delayed ingestion</li><li>Inefficient scaling</li></ul><p>Instead, S3 publishes object-created events to SNS.</p><p>SNS delivers to SQS in the analytics account.</p><p>OpenSearch Ingestion reads from SQS and pulls the object from S3.</p><p>This gives us:</p><ul><li>Near real-time ingestion</li><li>Backpressure handling</li><li>Failure tolerance</li><li>Cross-account isolation</li></ul><p>It also means ingestion won’t collapse if OpenSearch slows down temporarily.</p><h3>IAM: The Part Everyone Underestimates</h3><p>Cross-account ingestion requires clean trust boundaries.</p><p>The analytics account hosts an OSI role that can:</p><ul><li>Read from the central S3 bucket</li><li>Consume messages from SQS</li></ul><p>The logging account’s bucket policy explicitly allows that role.</p><p>We restrict access using:</p><ul><li>AWS Organizations condition keys</li><li>Prefix-level permissions</li></ul><p>Loose IAM in logging pipelines becomes a security incident waiting to happen.</p><h3>OpenSearch Cluster Design (Where Things Get Serious)</h3><p>At 500+ GB/day, cluster design is not optional tuning. It is survival.</p><p>We run:</p><ul><li>3 Dedicated Master Nodes</li><li>SSD-backed Hot Data Nodes</li><li>HDD-backed Warm Nodes</li><li>Cold Tier</li></ul><p>Dedicated masters prevent ingestion load from destabilizing cluster state.</p><h3>Disk Strategy (And the Cluster RED Incident)</h3><p>OpenSearch protects itself using disk watermarks:</p><ul><li>75% → Low watermark</li><li>85% → High watermark</li><li>95% → Flood-stage</li></ul><p>At flood-stage:</p><ul><li>Indices become read-only</li><li>Writes fail</li><li>Cluster turns RED</li></ul><p>We hit flood-stage when ingestion outpaced scaling.</p><p>That was our lesson in physics.</p><p>To recover:</p><ol><li>Deleted old indices</li><li>Cleared read-only flags</li><li>Added data nodes</li><li>Increased EBS volumes (If possible)</li></ol><p>Long-term, we:</p><ul><li>Alert at 70% disk</li><li>Enforced strict index lifecycle policies</li><li>Forecast storage quarterly</li></ul><p>You don’t “fix” disk pressure. You engineer around it.</p><h3>Daily Indexing: Non-Negotiable</h3><p>Each day creates its own index:</p><p>vpc-flowlogs-YYYY.MM.DD</p><p>Why daily?</p><p>Because 500 GB in a single rolling index is reckless.</p><p>Daily indexing:</p><ul><li>Limits shard growth</li><li>Reduces corruption blast radius</li><li>Enables clean lifecycle transitions</li><li>Simplifies reprocessing</li></ul><p>Shard size is maintained between 30–50 GB.</p><p>Too small → too many shards</p><p>Too large → slow recovery</p><p>Shards are memory consumers, not just files.</p><h3>Lifecycle Management: Hot → Warm → Cold → Delete</h3><p>Logs live in stages:</p><ul><li>0–7 days → Hot (SSD)</li><li>8–30 days → Warm (HDD)</li><li>31–90 days → Cold</li><li>90 days → Delete</li></ul><p>Without lifecycle management:</p><p>500 GB/day becomes 45 TB in three months.</p><p>Storage grows quietly. Then suddenly.</p><h3>Authentication via Okta</h3><p>We integrated OpenSearch Dashboards with Okta using SAML.</p><p>User → Okta → SAML Assertion → OpenSearch</p><p>Benefits:</p><ul><li>MFA enforced</li><li>Centralized identity</li><li>Role mapping via Okta groups</li><li>No local OpenSearch users</li></ul><p>Security and audit teams appreciate that design.</p><h3>Let’s Talk Money</h3><p>At 500 GB/day (~15 TB/month):</p><p>OpenSearch infrastructure typically lands around:</p><p><strong>$10K–$12K per month</strong></p><p>CloudWatch Logs:</p><p><strong>$10K–$13K per month</strong></p><p>Splunk:</p><p><strong>$75K–$100K per month</strong></p><p>Splunk is powerful. It is priced like it knows that.</p><h3>What Happens If Volume Triples?</h3><p>Let’s say we grow to 1.5 TB/day.</p><p>Now we’re ingesting 45 TB/month.</p><p>OpenSearch scales roughly with infrastructure:</p><p><strong>$25K–$30K per month</strong></p><p>CloudWatch scales directly with ingestion pricing:</p><p><strong>$30K–$40K per month</strong></p><p>Splunk licensing at 2 TB/day:</p><p><strong>$200K+ per month</strong></p><p>At scale, ingestion-based pricing becomes painful.</p><p>Infrastructure-based pricing becomes predictable.</p><p>That difference matters when forecasting growth.</p><h3>Lessons Learned</h3><ol><li>Centralize storage. Decouple processing.</li><li>Use event-driven ingestion with SQS buffering.</li><li>Daily indexes are mandatory at this volume.</li><li>Disk watermarks are not suggestions.</li><li>Capacity planning must stay ahead of ingestion growth.</li><li>Cost modeling should assume next year’s volume — not today’s.</li></ol><h3>Final Thought</h3><p>VPC Flow Logs are often treated as compliance exhaust.</p><p>At 500 GB/day, they become a living map of your network’s behavior.</p><p>When designed properly, this pipeline doesn’t just store traffic records.</p><p>It turns distributed chaos into searchable intelligence.</p><p>And the difference between those two states is architecture.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea3da974dead" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to prepare for FinOps Certified Practitioner Exam]]></title>
            <link>https://medium.com/@aadityapaliwal10/how-to-prepare-for-finops-certified-practitioner-exam-1e99d94daf62?source=rss-df3b7ee470c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e99d94daf62</guid>
            <category><![CDATA[finops-practitioner]]></category>
            <category><![CDATA[finops-certification]]></category>
            <dc:creator><![CDATA[Aaditya Paliwal]]></dc:creator>
            <pubDate>Wed, 01 Jan 2025 00:28:41 GMT</pubDate>
            <atom:updated>2025-01-01T00:28:41.840Z</atom:updated>
            <content:encoded><![CDATA[<p>I prepared and passed the FinOps Certified Practitioner exam last year and while i was preparing, there wasn’t any good recommendations on how to prepare or what to prepare apart form the outlines provided in the FinOps foundation website. So here I am with my 10 cents on how to prepare for this certification exam.</p><p>I would only focus on how to prepare for the exam and will not divulge into what FinOps is or how it works, because I know “you already know what it is”. Lets look into the exam format and relevant details.</p><h3>Exam Info</h3><ul><li><strong>Exam Cost: </strong>$300</li><li><strong>Exam Validity:</strong> 12 months to pass the exam of the purchase date</li><li><strong>Exam Attempts: </strong>3<strong> </strong>attempts to pass, within 12 months of the purchase date</li><li><strong>Exam Format:</strong> 50 multiple-choice questions</li><li><strong>Exam Duration:</strong> 1 hour</li><li><strong>Exam Passing Score:</strong> 75%</li><li><strong>Validity: </strong>2 Years</li><li>Its a non-proctored exam</li></ul><h3><strong>How to Prepare for the Exam?</strong></h3><p><strong>Prerequisites before you start the actual preparation -</strong></p><ul><li>Know basics of how cloud computing works, key services of cloud providers and use cases</li><li>Understand different pricing models like pay-as-you-go, consumption-based billing etc.</li><li>Basic knowledge of either one of the leading cloud service provider <a href="https://www.aws.training/SessionSearch?pageNumber=1&amp;courseId=17675">Amazon Web Services</a>, <a href="https://docs.microsoft.com/en-us/learn/paths/azure-fundamentals/">Microsoft Azure</a>, <a href="https://cloud.google.com/certification/cloud-digital-leader">Google Cloud</a></li><li>Basics of How to and Where to look for cloud costs with some hands on going through cost reporting of whatever cloud provider you use.</li></ul><p><strong>Prepare with paid courses</strong></p><p>There are multiple ways of preparing for the exam, like purchasing the paid courses —</p><ol><li><a href="https://learn.finops.org/path/finops-certified-practitioner-self-paced">FinOps Certified Practitioner Self-Paced Course</a> + Certification Exam — $599</li><li><a href="https://learn.finops.org/finops-certified-practitioner-virtual-instructor-led">FinOps Certified Practitioner Virtual Instructor-Led Course</a> + Exam — $1500</li><li><a href="https://www.finops.org/community/finops-book/">Cloud FinOps Book</a> — available on Amazon ~ $60 or <a href="https://www.oreilly.com/library/view/cloud-finops-2nd/9781492098348/">Oreilly free trial</a></li><li><a href="https://www.udemy.com/course/finops-certified-practitioner-focp-crash-course/?couponCode=24T7MT123024">FinOps Certified Practitioner (FOCP) Crash Course</a> on Udemy — $13.99</li></ol><p>Or</p><p><strong>Prepare with Free material</strong></p><p>Learn for free through web references available on <a href="https://www.finops.org/">finops.org</a> —</p><ol><li><a href="https://learn.finops.org/introduction-to-finops">The FREE Introduction to FinOps course</a></li><li>Intro to FinOps slides in <a href="https://docs.google.com/presentation/d/11TtHnL-I1_yF_jAUsHtxfB_aewADkf-bCltuS8AZW34?usp=drive_fs">Google Slides</a> or <a href="https://docs.google.com/presentation/d/1038O4H7aqG6v2YAqViDafRrj4jMQkIDl?rtpof=true&amp;usp=drive_fs">Powerpoint</a></li><li>Explore the <a href="https://www.finops.org/framework/">FinOps Framewor</a>k</li><li>Explore <a href="https://www.finops.org/assets/">FinOps Assets</a></li><li>Explore <a href="https://www.finops.org/wg/adopting-finops/">Adopting FinOps</a></li><li>Explore <a href="https://www.finops.org/wg/finops-tools-and-services/#finops-services">FinOps Tools and Services</a></li></ol><p>You must be thinking that this guy has basically asked us to go through most of the content available on the Finops foundation. Yes if you want to pass the exam without paying anything extra and also because questions in the exam are based out of the contents covered in the Framework, Assets and Adopting FinOps.</p><p>The above points are arranged in the order. So you can start from 1 and then move along to 6.</p><p>All the content is going to be overwhelming so what I did was to create a connection between different topics and subtopics. Just like, tree structure that helped me to remember a lot of concepts.</p><p>The most important of all is the FinOps Framework, if explored in-depth it can alone help you pass the exam along with some basic cloud knowledge.</p><p>After you think you have digested the above content well, I would highly recommend attempting some practice exams on Udemy.</p><p><a href="https://www.udemy.com/course/finops-certified-practitioner-focp-exam-questions/?utm_source=adwords&amp;utm_medium=udemyads&amp;utm_campaign=Search_DSA_GammaCatchall_NonP_la.EN_cc.US&amp;campaigntype=Search&amp;portfolio=USA&amp;language=EN&amp;product=Course&amp;test=&amp;audience=DSA&amp;topic=&amp;priority=Gamma&amp;utm_content=deal4584&amp;utm_term=_._ag_162530792106_._ad_700852016379_._kw__._de_c_._dm__._pl__._ti_dsa-1456167871416_._li_9030958_._pd__._&amp;matchtype=&amp;gad_source=1&amp;gclid=EAIaIQobChMIiuqWh43TigMV3CFECB2OWAOFEAAYASAAEgLsy_D_BwE&amp;couponCode=NVD20PMUS">FinOps Certified Practitioner (FOCP) Exam Questions</a> — $14.99</p><p>Yeah its not free, but it helps and it helps a lot. It has 6 set of exam questions. I saw almost 20–25% of questions from these practice exams in the certification exam. So for me it was totally worth it.</p><h3><strong>About the Exam</strong></h3><ol><li><strong>Exam Topics</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CcaIn882dnCScKezZlPoow.jpeg" /></figure><p>2. <strong>About the actual Exam</strong></p><p>The exam is not at all complicated. Many questions will be straight forward any easy to answer if you remember the concept.</p><p>Time management will be important as you will get over a minute, 72 seconds precisely to answer each question which will be more than enough for at least half of the questions. For rest you can save time in lots of the questions with easy and straight forward answers.</p><p>You get the results immediately after the exam and since you have total 3 attempts there is no need to be stressed at all.</p><p>Conclusion —</p><p>Overall it was a nice learning experience for me as it covers and shed light on a lot of different aspects of our work that we generally do not really explore or control in great detail.</p><p>I hope this helps you a bit in your preparation for the exam and I would love to hear if you think I should add on to this.</p><p>Cheers and All the best !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e99d94daf62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS: Restore multiple objects in S3 from Glacier (archive storage)]]></title>
            <link>https://medium.com/@aadityapaliwal10/aws-restore-s3-data-from-glacier-archive-storage-6227d252d39c?source=rss-df3b7ee470c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6227d252d39c</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[s3]]></category>
            <category><![CDATA[aws-glacier]]></category>
            <dc:creator><![CDATA[Aaditya Paliwal]]></dc:creator>
            <pubDate>Fri, 31 Mar 2023 11:54:38 GMT</pubDate>
            <atom:updated>2023-04-03T10:49:37.377Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, we had to restore a large amount of data in a S3 bucket from archive storage stored in different S3 Glacier storage classes. This was the first time we were doing this kind of activity and had our fair share of struggle to restore the data.</p><p>We followed AWS documentation, but it resulted in failures. Then we used different options recommended over the web, but still we were not able to restore 100% of the data. Hence, re-evaluated the AWS documentation and executed the steps again with right permissions to the source bucket &amp; target bucket helped us get the task done.</p><p>This is when I thought to create a step-by-step documentation to help others get this done without getting into unwanted error.</p><blockquote>To restore large volume of S3 objects, we used <strong>AWS S3 inventory</strong> and <strong>S3 batch operations</strong>.</blockquote><h3>Create S3 Inventory Report</h3><p>Using S3 inventory, you can create a list of objects for the restore job. It gives you with the list of objects and their metadata either on a daily or weekly basis for the S3 bucket. It provides the output in form of a flat file in either CSV, ORC and Parquet format.</p><p>There are multiple ways to create the inventory, we tried it with CLI and Console. But easiest is the AWS console and therefore, below are the steps in order that can be executed on AWS Console to create the inventory —</p><ol><li>Navigate to the bucket from which you want objects to be restored from Glacier.</li><li>Select the Management Tab and scroll down to the “Inventory Configuration” Section.</li><li>Click on Create inventory configuration</li></ol><p>4. Enter the “Inventory configuration name”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*ozilCW7NC2yJJzJBjEDOIQ.png" /></figure><p>5. Enter prefix, if you need to restore objects e.g.,— within a particular folder or with certain prefix</p><p>6. Enter the destination bucket along with the prefix e.g.,“s3://my-bucket-for-inventory/S3Inventory”. We created a new bucket as destination bukcet.</p><blockquote>Note: The destination bucket must be in the same AWS Region as the bucket for which you are setting up the inventory.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*sw1FRy4phJg_EqtOLa6GbQ.png" /></figure><p>7. Destination bucket policy will be updated and applied to the destination bucket, based on your inputs in the Report details section.</p><p>8. Select details for Frequency, Output as per your requirements. Keep the status as enable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*DWkL2cA9qixoFc_W6mwarw.png" /></figure><p>9. Select the inventory server-side encryption and specify an encryption key only if your destination bucket has encryption enabled. Provide the encryption key in the next step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*XNDH0Px7KCvxRGRZV6xUwA.png" /></figure><p>10. Select any additional metadata field you require as depcicted below -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*jrW2A5QAovM67B0yGsbkHw.png" /></figure><p>11. Click on create.</p><blockquote>Note: It may take upto 48 hours to deliver the first inventory report. In our case, we got it after 18 hours.</blockquote><p>Once created, you can go and check the file in the destination bucket. An inventory list file contains a list of the objects in the source bucket and metadata for each object. The inventory lists are stored in the destination bucket as a CSV file compressed with GZIP. Objects are sorted in ascending order based on the key names.</p><blockquote>Pre-requisites before proceeding ahead:</blockquote><blockquote>Check the inventory configuration status in &lt;<strong>Last export</strong>&gt; column -</blockquote><blockquote>· If shows “Access Denied” check the destination bucket policy is correct and recreate Inventory configuration<br> · If shows “-“ then inventory configuration is still running and generating the report.<br> · If shows Date, then we can begin with the Batch Operation.<br> · Click on the Date link, and copy the S3 URI</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XjdU328AmXR1r5oqTvgW1A.png" /></figure><h3>Create S3 Batch Operations Job</h3><ol><li>In S3 Console, from left side menu options Select “Batch Operations”</li><li>Click on Create job</li><li>Choose <strong>AWS Region</strong></li><li>Choose Manifest format as “S3 inventory report (manifest.json)”</li><li>In Manifest object, provide S3 URI for the inventory report “manifest.json” file.</li></ol><blockquote>The URI can be either be obtained from the step “Click on the Date link, and copy the S3 URI” from the inventory configuration section <br>Or<br>By navigating to the destination bucket where S3 Inventory report is generated as depecicted in snapshot below, manifest file will be inside the folder ending “<strong>00Z</strong>”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PazmRUrBSMt-ODnfZ3nySw.png" /></figure><p>6. Click Next</p><p>7. Choose Operation as Restore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*IVBD2zoxvXFMFiTYGb5nvg.png" /></figure><p>8. In “Restore Section”, select “Restore source” as per your requirement.</p><p>9. Enter “Number of days that the restored copy is available” to keep the restore copy available for you. e.g., 14 days.</p><p>10. Select Retrieval tier (Bulk/Standard) as per the urgency and the size of objects to be restored as it can have a cost association.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*GP4IhtV4-Vn5N-eo1NiXSA.png" /></figure><p>11. Click Next</p><p>12. In “Configure additional options” section, add Description of your choice.</p><p>13. In “Completion report” section, it is recommended to check the checkbox for “Generate completion report” (checked by default)</p><p>14. “Completion report scope”, select “All tasks” is recommended. (selected by default)</p><p>15. Enter the “s3 destination bucket” path where job completion report will be uploaded. (we used the same bucket where we generated inventory report)</p><p>16. In “Permissions” section, Choose an IAM role with required access and the IAM trust policy required for batch operations to assume the IAM role.</p><blockquote>If the IAM role is not available, then it needs to be created. Open another tab and navigate to IAM roles and create a new IAM role. You can copy the role policy template as well as IAM Trust policy template from the permissions section under the heading “<strong>View IAM role policy template and IAM trust policy</strong>”</blockquote><blockquote>Note: Please rememeber to update the policy after pasting it by providing correct resource in the line no 9 as depicted in the snapshot below.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Say5iNhR51x5UwQ5vurmg.png" /></figure><p>17. Click on Next button and review the details.</p><p>18. Click on Create job. Job will be created with status as “New” and Run job option will be disabled.</p><p>19. After the total number of objects listed in the manifest has been confirmed, the job status will update to “<em>Awaiting your confirmation to run”</em>, and you must <strong>Run job</strong> within 30 days.</p><p>20. Select the job and click on Run job.</p><p>21. Once the job is executed Status will show Complete or Failed and <br>% complete should be 100%. Below is a sample depiction</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*bo5QYILSRnIzmR1fseYtdg.png" /></figure><p>22. Objects in “Total failed (rate)” column are the objects that were not in the glacier storage.</p><p>Congrats! You have restored your data from glacier.</p><p>I Hope you find this article useful. Thank you for reading.</p><h3>Reference</h3><ul><li><a href="https://docs.aws.amazon.com/AmazonS3/latest/user-guide/configure-inventory.html">https://docs.aws.amazon.com/AmazonS3/latest/user-guide/configure-inventory.html</a></li><li><a href="https://aws.amazon.com/premiumsupport/knowledge-center/s3-batch-operation-initiate-restore/">https://aws.amazon.com/premiumsupport/knowledge-center/s3-batch-operation-initiate-restore/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6227d252d39c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>