<?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: OMKAR  KADAM</title>
    <description>The latest articles on DEV Community by OMKAR  KADAM (@omkarokkadam).</description>
    <link>https://dev.to/omkarokkadam</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%2F1037605%2F73f84930-0c6a-4d6f-8195-dda405753ad7.jpeg</url>
      <title>DEV Community: OMKAR  KADAM</title>
      <link>https://dev.to/omkarokkadam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/omkarokkadam"/>
    <language>en</language>
    <item>
      <title>AI-Hackathon ft AWS Community Builders</title>
      <dc:creator>OMKAR  KADAM</dc:creator>
      <pubDate>Sat, 01 Jul 2023 05:04:35 +0000</pubDate>
      <link>https://dev.to/aws-builders/ai-hackathon-ft-aws-community-builders-1a0a</link>
      <guid>https://dev.to/aws-builders/ai-hackathon-ft-aws-community-builders-1a0a</guid>
      <description>&lt;p&gt;Something's brewing in the AWS Community Builders network! Join me as I take you on an exhilarating journey of the first ever AWS AI-Hackathon experience featuring AWS Community Builders, where creativity, passion, and collaboration converged to create innovative solutions. Buckle up and let's dive into the captivating story of our project - AWS Cost Advisor!&lt;/p&gt;

&lt;p&gt;The Spark of Inspiration:&lt;br&gt;
As an active member of the AWS Community Builder program, I was constantly surrounded by the spirit of innovation and the drive to push boundaries. It was during one of our vibrant discussions that the idea of AWS Cost Advisor came to life. Inspired by the immense potential of AI and the need for effective cost optimization on AWS, I embarked on a mission to create something truly impactful.&lt;/p&gt;

&lt;p&gt;The Hackathon Begins:&lt;br&gt;
The AI-Hackathon marked the start of an intense and thrilling journey. Fuelled by curiosity, I immersed myself in extensive research, exploring the realms of cost optimization strategies and AI algorithms. The more I delved into the subject, the clearer my vision became.&lt;/p&gt;

&lt;p&gt;Collaboration and Challenges:&lt;br&gt;
Throughout the hackathon, I had the privilege of collaborating with talented minds like &lt;a class="mentioned-user" href="https://dev.to/bismillahkani"&gt;@bismillahkani&lt;/a&gt; &lt;a class="mentioned-user" href="https://dev.to/md__mostafa"&gt;@md__mostafa&lt;/a&gt; and Manoj P. from such diverse backgrounds. Together, we tackled challenges head-on, brainstorming ideas and finding innovative solutions. The exchange of knowledge, ideas, and perspectives within the AWS Community Builder Slack Channel was truly invaluable.&lt;/p&gt;

&lt;p&gt;Building AWS Cost Advisor:&lt;br&gt;
Armed with a wealth of knowledge and the support of the AWS Community Builders, we set out to build AWS Cost Advisor — an intelligent solution that would revolutionize cost optimization on AWS. We dived into the AWS ecosystem, leveraging powerful services and machine learning capabilities to develop a user-friendly interface, real-time insights, and proactive recommendations tailored to individual business needs.&lt;/p&gt;

&lt;p&gt;The Moments before final submission deadline:&lt;br&gt;
As the hackathon drew to a close, I couldn't help but feel an overwhelming happiness for the kind of collaboration and camaraderie that we had throughout the duration of the hackathon. AWS Cost Advisor(Trademark pending, just kidding) evolved into a comprehensive tool that empowers businesses to make data-driven decisions and optimize their costs effectively. The immense value it brings to organizations is truly remarkable.&lt;/p&gt;

&lt;p&gt;Sharing the Journey:&lt;br&gt;
Now, it's time to share this incredible journey with the world! I invite you to read our official submission entry &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;(&lt;a href="https://dev.to/aws-builders/aws-cost-advisor-cb-ai-hackathon-44ck"&gt;https://dev.to/aws-builders/aws-cost-advisor-cb-ai-hackathon-44ck&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You can also read my LinkedIn post which highlights this journey over here:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;(&lt;a href="https://www.linkedin.com/feed/update/urn:li:activity:7080764559908573184/" rel="noopener noreferrer"&gt;https://www.linkedin.com/feed/update/urn:li:activity:7080764559908573184/&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Things to note:&lt;/p&gt;

&lt;p&gt;Infinite Growth Potential:&lt;br&gt;
This hackathon side-project is merely the tip of the iceberg. AWS Advisor has the potential to transform the landscape of Q&amp;amp;A and knowledge sharing. With a robust data pipeline, this tool can outperform human capabilities, providing accurate, personalized, and efficient solutions to complex queries. The possibilities are endless, and the impact on businesses and individuals alike is immeasurable.&lt;/p&gt;

&lt;p&gt;Join the Revolution:&lt;br&gt;
Now, it's time to join the revolution. Reading the above post will surely give you an idea about AWS Cost Advisor and the limitless potential it holds. Like, share, and engage with the article to amplify the message and inspire others to embark on their own transformative projects.&lt;/p&gt;

&lt;p&gt;Conclusion:&lt;br&gt;
As we reflect on this incredible AI-Hackathon journey, we realize that this is just the beginning.Together, we can unlock its full potential and create a future where AI-driven tools empower us beyond what we ever imagined.&lt;/p&gt;

&lt;p&gt;I extend my gratitude to the AWS Community Builders and all those who have supported this endeavor, and built amazing products that solve real-life problems. Let's continue pushing boundaries, fueling innovation, and embracing the infinite growth potential that lies ahead.&lt;/p&gt;




&lt;p&gt;Related posts:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/aws-builders/aws-cost-advisor-cb-ai-hackathon-44ck"&gt;https://dev.to/aws-builders/aws-cost-advisor-cb-ai-hackathon-44ck&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  AIHackathon #AWSCommunityBuilders #Innovation #AWS #TechCommunity
&lt;/h1&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>hackathon</category>
      <category>ai</category>
    </item>
    <item>
      <title>Infraception (Infrastructure + Inception) with CDK Pipelines</title>
      <dc:creator>OMKAR  KADAM</dc:creator>
      <pubDate>Tue, 04 Apr 2023 06:24:22 +0000</pubDate>
      <link>https://dev.to/aws-builders/infraception-infrastructure-inception-with-cdk-pipelines-3185</link>
      <guid>https://dev.to/aws-builders/infraception-infrastructure-inception-with-cdk-pipelines-3185</guid>
      <description>&lt;p&gt;Are you ready to be amazed with some magic?&lt;/p&gt;

&lt;p&gt;Well, I am not a magician, per se, but as Arthur Clarke says,&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Any sufficiently advanced technology is indistinguishable from magic”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I totally agree.&lt;/p&gt;

&lt;p&gt;One of my favorite movies, The Prestige states that&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Every great magic trick consists of three parts or acts”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;let us try incorporating these parts into our story.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Pledge: (This is the part where I walk through the problem statement: Something ordinary)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We previously had around 50 static websites hosted on EC2+ELB, this was a bit cost intensive, and this architecture could be improved upon with some effort.&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%2Fzxefxtoqbn57ke2rt39j.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%2Fzxefxtoqbn57ke2rt39j.png" alt="**Simple Architecture: EC2 with ELB**" width="381" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That is when I challenged myself to re-architect this setup so that it is secure, reliable, supports automated deployments and saves us some costs as compared to the existing Architecture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Turn: (This is the part where I briefly describe my approach and convert the ordinary problem statement into an extraordinary solution)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this stage we identified the tasks to be worked on for moving from current architecture to the desired state.&lt;/p&gt;

&lt;p&gt;We have chosen S3 Static Website connected to CloudFront Distribution for each website/partner added to the Monorepo for this project.&lt;/p&gt;

&lt;p&gt;This is achieved using AWS CDK (Cloud Development Kit) to create CloudFormation Stacks such that every new website gets unique resources such as:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;S3 Bucket&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CloudFront Distribution&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ACM Certificate&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For automating deployments, i.e., Bucket level deployments to these sites based on changes, we have set up a CodeBuild Project which runs the steps mentioned in buildspec.yml file of the Mono repo&lt;/p&gt;

&lt;p&gt;When any push activity/SHA is returned via Webhook to CodeBuild, it triggers the above Build Project, and deploys the changesets to CloudFormation via CDK deploy&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%2F7n5mdf91s058rm6co2wu.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%2F7n5mdf91s058rm6co2wu.png" alt="**Deployment In Progress**" width="800" height="585"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;301 Redirection support is implemented via a Lambda@Edge Function shared across stacks, to avoid maintenance hassles and multiple copies of same Lambda code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Prestige: (If you are still reading, your hypothetical EC2 servers and Load balancers have disappeared, and now you have corresponding websites powered by S3 and CloudFront, secured using ACM SSL Certificates.)&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%2Fq75zlrg5zi46jh3tg2g5.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%2Fq75zlrg5zi46jh3tg2g5.png" alt="**S3+CloudFront+CI-CD**" width="800" height="391"&gt;&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%2Fbl86iwceo3gr5dq9uu93.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%2Fbl86iwceo3gr5dq9uu93.png" alt="**Proposed Solution: Individual Stacks**" width="800" height="389"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Highlights of this solution:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Infrastructure as Code/Infrastructure is Code: As the entire project along with the code necessary to spin up necessary infrastructure resides in the same repository&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Adding a new site to the repository automatically creates corresponding resources on the Cloud as the CDK Pipeline detects any changes to the repository&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Stack is CI-CD ready; we can add CI steps easily into the CDK pipeline. Currently it only checks/validates CDK syntax.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;*Cost Savings compared to EC2 and ELB based hosting.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In less than 500 lines of code, I have provisioned more than 200 distinct cloud resources in two AWS accounts which include but not limited to (1 S3 Bucket, 1 Lambda Edge, 1 CloudFront Distribution, 1 SSL Certificate, 1 S3 Logging Bucket) * 50 Stacks * 2 Environments (Stage &amp;amp; Prod)&lt;/p&gt;

&lt;p&gt;As seen above, CDK when combined with CDK Pipelines, can be a beast as it can repeatably deploy/provision thousands of similar stacks with customized Stack Parameters, across multiple environments, and multiple AWS Accounts.&lt;/p&gt;

&lt;p&gt;This phenomenon is what I call Infraception (Infrastructure + Inception)&lt;/p&gt;

&lt;p&gt;&lt;em&gt;**Pricing comparison:&lt;/em&gt;*&lt;/p&gt;

&lt;p&gt;EC2+ELB estimated costs (Traditional Stack):&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%2F59agfeirtmd2sdhkqfpf.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%2F59agfeirtmd2sdhkqfpf.png" alt="**Traditional Stack**" width="800" height="443"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;~ 200$/mo.&lt;/p&gt;

&lt;p&gt;S3+CloudFront (Serverless Stack):&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%2Fzst6u6j6imrbali3o0t5.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%2Fzst6u6j6imrbali3o0t5.png" alt="**Serverless Stack**" width="800" height="490"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;~ 25-30$/mo.&lt;/p&gt;

&lt;blockquote&gt;
&lt;h2&gt;
  
  
  Over 85% cost reduction if moved from EC2+ELB to the proposed solution.
&lt;/h2&gt;
&lt;/blockquote&gt;

&lt;p&gt;Hope that this piece has shed some light on the optimizations you can use to transform your cloud landscape, by using CDK Pipelines as a CI-CD tool for deploying cloud resources at scale.&lt;/p&gt;

&lt;p&gt;Further Reading:&lt;br&gt;
&lt;a href="https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-s3-amazon-cloudfront-a-match-made-in-the-cloud/" rel="noopener noreferrer"&gt;&lt;strong&gt;Amazon S3 + Amazon CloudFront: A Match Made in the Cloud | Amazon Web Services&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/getting-started-secure-static-website-cloudformation-template.html" rel="noopener noreferrer"&gt;&lt;strong&gt;Getting started with a secure static website&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://aws.amazon.com/blogs/devops/parallel-and-dynamic-saas-deployments-with-cdk-pipelines/" rel="noopener noreferrer"&gt;&lt;strong&gt;Parallel and dynamic SaaS deployments with AWS CDK Pipelines | Amazon Web Services&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This article was originally published on &lt;a href="https://omkarokkadam.medium.com/infraception-with-cdk-pipelines-38351eaa816a" rel="noopener noreferrer"&gt;My Medium&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cdk</category>
      <category>s3</category>
      <category>cloudfront</category>
    </item>
  </channel>
</rss>
