<?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: Alex</title>
    <description>The latest articles on DEV Community by Alex (@programmingwithalex).</description>
    <link>https://dev.to/programmingwithalex</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%2F881592%2Ff357c7dc-5baf-4ae6-9a42-0b0c826fc48f.jpeg</url>
      <title>DEV Community: Alex</title>
      <link>https://dev.to/programmingwithalex</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/programmingwithalex"/>
    <language>en</language>
    <item>
      <title>Deploying Flask-based Microservices on AWS with ECS Service Connect</title>
      <dc:creator>Alex</dc:creator>
      <pubDate>Mon, 30 Dec 2024 00:17:01 +0000</pubDate>
      <link>https://dev.to/programmingwithalex/deploying-flask-based-microservices-on-aws-with-ecs-service-connect-13b4</link>
      <guid>https://dev.to/programmingwithalex/deploying-flask-based-microservices-on-aws-with-ecs-service-connect-13b4</guid>
      <description>&lt;p&gt;The &lt;a href="https://www.youtube.com/watch?v=rK__7D9-HbY&amp;amp;list=PLbn3jWIXv_iZhs7hxhKlCoBRrrLQ2OG6Z&amp;amp;index=1" rel="noopener noreferrer"&gt;playlist&lt;/a&gt; is broken into six parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An introduction to ECS Service Connect and the various AWS components that will be used&lt;/li&gt;
&lt;li&gt;Run the flask-based microservice architecture locally before diving into AWS&lt;/li&gt;
&lt;li&gt;Get the flask-based microservice architecture **just working** on AWS. We'll rely on a lot of the defaults provided by AWS on the networking to get a working example quickly that you can see in action on AWS&lt;/li&gt;
&lt;li&gt;We'll do the same as the previous video, but not rely on default networking setup by AWS. We'll configure networking ourselves with the recommended AWS approach so the app is production-ready&lt;/li&gt;
&lt;li&gt;Use GitHub Actions to automate deployments to our flask app code running on our microservice architecture on AWS&lt;/li&gt;
&lt;li&gt;Run a CDK (Cloud Development Kit) script that will create both the AWS networking components, as well as the ECS components. After running the script with a single &lt;code&gt;cdk deploy --all\&lt;/code&gt; command, the microservice architecture will be fully functional&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This tutorial truly is end-to-end. If you enjoy the content, you can help me a ton by doing any or all of the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.patreon.com/programmingwithalex" rel="noopener noreferrer"&gt;supporting me on Patreon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ" rel="noopener noreferrer"&gt;subscribing to my YouTube channel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;liking and/or commenting on the videos&lt;/li&gt;
&lt;li&gt;sharing the video(s) or &lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ" rel="noopener noreferrer"&gt;channel&lt;/a&gt; on any platform (&lt;a href="https://old.reddit.com/" rel="noopener noreferrer"&gt;reddit&lt;/a&gt;, &lt;a href="https://x.com/" rel="noopener noreferrer"&gt;twitter (or X I guess)&lt;/a&gt;, &lt;a href="https://discord.com/" rel="noopener noreferrer"&gt;discord&lt;/a&gt;, &lt;a href="https://www.linkedin.com/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;, etc.)&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex/aws_ecs_service_connect" rel="noopener noreferrer"&gt;starring the GitHub repo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex" rel="noopener noreferrer"&gt;following me on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Any questions or requests, just leave a comment.&lt;/p&gt;

</description>
      <category>microservices</category>
      <category>ecs</category>
      <category>flask</category>
      <category>python</category>
    </item>
    <item>
      <title>How to connect your flask application to AWS RDS with a CI/CD pipeline</title>
      <dc:creator>Alex</dc:creator>
      <pubDate>Sat, 06 Aug 2022 14:02:06 +0000</pubDate>
      <link>https://dev.to/programmingwithalex/how-to-connect-your-flask-application-to-aws-rds-with-a-cicd-pipeline-1cll</link>
      <guid>https://dev.to/programmingwithalex/how-to-connect-your-flask-application-to-aws-rds-with-a-cicd-pipeline-1cll</guid>
      <description>&lt;p&gt;In this video I go through:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Creating an AWS RDS instance with PostgreSQL&lt;/li&gt;
&lt;li&gt;Modifying a flask app to connect to the RDS instance&lt;/li&gt;
&lt;li&gt;Setting up pgadmin so you can interact with the database server locally&lt;/li&gt;
&lt;li&gt;CI/CD pipeline with GitHub actions&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All the code for the video is on GitHub as well, with the link in the video description.&lt;/p&gt;




&lt;p&gt;This video is the latest in a longer series where I detail the steps necessary to take a local hello-world flask application from your local machine to AWS so you can access via a domain name. &lt;a href="https://www.youtube.com/playlist?list=PLbn3jWIXv_iZ566tBk_DTIPGY4fUW4qBn"&gt;You can find the full playlist here&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;If you find the video helpful you can greatly help me by doing one or all of the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.patreon.com/programmingwithalex"&gt;supporting me on Patreon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ"&gt;subscribing to my YouTube channel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;liking and/or commenting on the video&lt;/li&gt;
&lt;li&gt;sharing the video or &lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ"&gt;channel&lt;/a&gt; on any platform (&lt;a href="https://old.reddit.com"&gt;reddit&lt;/a&gt;, &lt;a href="https://twitter.com/"&gt;twitter&lt;/a&gt;, &lt;a href="https://discord.com/"&gt;discord&lt;/a&gt;, etc.)&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex/aws_ecs_demo"&gt;starring the GitHub repo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex"&gt;following me on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Any questions or requests, just leave a comment.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>python</category>
      <category>aws</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to automate deploying flask app to AWS via a CI/CD pipeline using GitHub Actions</title>
      <dc:creator>Alex</dc:creator>
      <pubDate>Thu, 21 Jul 2022 11:23:06 +0000</pubDate>
      <link>https://dev.to/programmingwithalex/how-to-automate-deploying-flask-app-to-aws-via-a-cicd-pipeline-using-github-actions-237g</link>
      <guid>https://dev.to/programmingwithalex/how-to-automate-deploying-flask-app-to-aws-via-a-cicd-pipeline-using-github-actions-237g</guid>
      <description>&lt;p&gt;In this video I go through:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Setting up the CI/CD pipeline script using GitHub Actions&lt;/li&gt;
&lt;li&gt;Running the CI/CD pipeline and viewing the deployed flask app on AWS&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All the code for the video is on GitHub as well, with the link in the video description.&lt;/p&gt;




&lt;p&gt;This video is the latest in a longer series where I detail the steps necessary to take a local hello-world flask application from your local machine to AWS so you can access via a domain name. &lt;a href="https://www.youtube.com/playlist?list=PLbn3jWIXv_iZ566tBk_DTIPGY4fUW4qBn"&gt;You can find the full playlist here&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;If you find the video helpful you can greatly help me by doing one or all of the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.patreon.com/programmingwithalex"&gt;supporting me on Patreon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ"&gt;subscribing to my YouTube channel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;liking and/or commenting on the video&lt;/li&gt;
&lt;li&gt;sharing the video or &lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ"&gt;channel&lt;/a&gt; on any platform (&lt;a href="https://old.reddit.com"&gt;reddit&lt;/a&gt;, &lt;a href="https://twitter.com/"&gt;twitter&lt;/a&gt;, &lt;a href="https://discord.com/"&gt;discord&lt;/a&gt;, etc.)&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex/aws_ecs_demo"&gt;starring the GitHub repo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex"&gt;following me on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Any questions or requests, just leave a comment.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>python</category>
      <category>aws</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>End-to-End Tutorial on Combining AWS Lambda, Docker, and Python</title>
      <dc:creator>Alex</dc:creator>
      <pubDate>Sat, 09 Jul 2022 14:16:15 +0000</pubDate>
      <link>https://dev.to/programmingwithalex/end-to-end-tutorial-on-combining-aws-lambda-docker-and-python-3m6n</link>
      <guid>https://dev.to/programmingwithalex/end-to-end-tutorial-on-combining-aws-lambda-docker-and-python-3m6n</guid>
      <description>&lt;p&gt;AWS Lambda recently added support for Docker images with Python, where before you had to zip all your code and dependencies. With this update I wanted to make a full length tutorial to cover everything necessary to be productive.&lt;/p&gt;

&lt;p&gt;The playlist is broken into six parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An introduction to the app that will be built and the various AWS components that will be used&lt;/li&gt;
&lt;li&gt;Cloning the GitHub repo and doing necessary setup to test the application locally&lt;/li&gt;
&lt;li&gt;Creating a Docker image of the Python script and running it on AWS Lambda, while also showing how painful it is to do even minor updates&lt;/li&gt;
&lt;li&gt;Adding CI/CD with GitHub Actions to speed up code updates&lt;/li&gt;
&lt;li&gt;Adding AWS Cloudwatch to create a cron job that schedules the Lambda function to run on periodic intervals&lt;/li&gt;
&lt;li&gt;Walking through an AWS Cloudformation yaml template that will create the Lambda function and Cloudwatch rule automatically and covering all the benefits of using a Cloudformation template&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;This tutorial truly is end-to-end. If you enjoy the content, you can help me a ton by doing any or all of the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.patreon.com/programmingwithalex"&gt;supporting me on Patreon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ"&gt;subscribing to my YouTube channel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;liking and/or commenting on the video&lt;/li&gt;
&lt;li&gt;sharing the video or &lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ"&gt;channel&lt;/a&gt; on any platform (&lt;a href="https://old.reddit.com"&gt;reddit&lt;/a&gt;, &lt;a href="https://twitter.com/"&gt;twitter&lt;/a&gt;, &lt;a href="https://discord.com/"&gt;discord&lt;/a&gt;, etc.)&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex/aws_lambda_demo"&gt;starring the GitHub repo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex"&gt;following me on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Any questions or requests, just leave a comment.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Full-length tutorial on deploying Flask app on AWS with Docker + RDS + Secrets Manager</title>
      <dc:creator>Alex</dc:creator>
      <pubDate>Thu, 07 Jul 2022 15:57:33 +0000</pubDate>
      <link>https://dev.to/programmingwithalex/full-length-tutorial-on-deploying-flask-app-on-aws-with-docker-rds-secrets-manager-1cml</link>
      <guid>https://dev.to/programmingwithalex/full-length-tutorial-on-deploying-flask-app-on-aws-with-docker-rds-secrets-manager-1cml</guid>
      <description>&lt;p&gt;The playlist details how to take a &lt;code&gt;flask&lt;/code&gt; application from your local machine and have it deployed on AWS with the following components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;database hosted on AWS&lt;/li&gt;
&lt;li&gt;domain name from AWS with SSL certificate&lt;/li&gt;
&lt;li&gt;CI/CD pipeline with GitHub actions to automate all changes&lt;/li&gt;
&lt;li&gt;pushing the Docker container of your &lt;code&gt;flask&lt;/code&gt; app to AWS using the CI/CD pipeline&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/programmingwithalex/aws-ecs-demo"&gt;All the code for the video is on GitHub&lt;/a&gt; as well, with the link in the video description.&lt;/p&gt;




&lt;p&gt;If you find the video helpful you can greatly help me by doing one or all of the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.patreon.com/programmingwithalex"&gt;supporting me on Patreon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ"&gt;subscribing to my YouTube channel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;liking and/or commenting on the video&lt;/li&gt;
&lt;li&gt;sharing the video or &lt;a href="https://www.youtube.com/channel/UC4UApj67YtJq2a2PAzmbQAQ"&gt;channel&lt;/a&gt; on any platform (&lt;a href="https://old.reddit.com"&gt;reddit&lt;/a&gt;, &lt;a href="https://twitter.com/"&gt;twitter&lt;/a&gt;, &lt;a href="https://discord.com/"&gt;discord&lt;/a&gt;, etc.)&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex/aws_ecs_demo"&gt;starring the GitHub repo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/programmingwithalex"&gt;following me on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Any questions or requests, just leave a comment.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
