AWS Posts

Creating a Serverless API Using SAM CLI and Ruby for AWS Lambda to Access Amazon RDS MySQL

Using Ruby for AWS Lambda and Creating a Serverless API to Access Amazon RDS MySQL

Having a Ruby on Rails background, I got excited to try Ruby to code my AWS Lambda functions when its support for AWS Lambda was announced at Re:Invent 2018. Finally, to try Ruby on AWS Lambda, I developed a simple API using AWS Serverless Application Model (SAM) to access an Amazon RDS MySQL database. I wanted to compare it with my experiences of doing this with Python and Node.js.

Although it may seem simple, installing mysql2 gem as a dependency proved itself to be challenging than others, because it has native extensions and depends on the environment you use bundler. As always, Docker simplifies our job by providing a similar environment that our AWS Lambda function runs inside.

In this post, I will make an introduction to AWS SAM CLI and using Ruby for AWS Lambda functions. Let’s begin! Read more at Creating a Serverless API Using SAM CLI and Ruby for AWS Lambda to Access Amazon RDS MySQL post.

Defining Resource Properties Conditionally Using AWS::NoValue on CloudFormation

Defining Resource Properties Conditionally Using AWS::NoValue on CloudFormation

AWS CloudFormation provides handful pseudo parameters which you can use to increase the reusability of your templates along with your template conditions and parameters. One of them is AWS::NoValue parameter which acts like the null value in programming languages.

In this post, I will talk about some examples of its use cases.

Read more at Defining Resource Properties Conditionally Using AWS::NoValue on CloudFormation post.

My New Course AWS CloudFormation Step by Step: Beginner to Intermediate is Live!

AWS CloudFormation Step by Step: Beginner to Intermediate

I am happy to announce that my new course, AWS CloudFormation Step by Step: Beginner to Intermediate, is now live on Udemy.

In this post, I want to introduce you with this new course. I will talk about the topics, what you will learn by taking it as well as the structure of the course. In addition, I will also share a free coupon that will be valid for a limited time with the followers of this blog. Read more at My New Course AWS CloudFormation Step by Step: Beginner to Intermediate is Live! post.

The Order of Resource Creations on AWS CloudFormation

AWS CloudFormation resource creations order

In an AWS CloudFormation template, you define independent resources or resources that are implicitly dependent, in other words, reference other resources. For instance, you can define an EC2 instance and a security group. Then, you might choose to attach the security group to the instance or not. In these two cases, AWS CloudFormation organizes the order of the creation of resources differently.

In addition, you might have another resource such as an Amazon SNS topic in the same template which you might want to provision after your EC2 instance created. Maybe you have an explicit dependency between them.

In this blog post, I will talk about how AWS CloudFormation handles the order of creation for independent or implicitly dependent resources. I will also explain how you can add your own dependencies in a template, as well. Read more at The Order of Resource Creations on AWS CloudFormation post.

Happy to Pass AWS Certified Solutions Architect - Professional and Hold All 5 Core AWS Certifications

AWS certifications owned by Emre Yilmaz

To begin with, wishing you a happy new year in 2019! I hope that the new year brings more health, joy, and success to you and more peace to the world.

Almost two weeks ago, I passed the AWS Certified Solutions Architect - Professional exam with a 91% score and completed my goal of holding all five core AWS certifications for 2018. At the beginning of last October, I also passed the AWS Certified DevOps Engineer - Professional exam with an 85% score. Unfortunately, I could not have time to write a post about my experiences until now. So, today I would like to share them briefly. Read more at Happy to Pass AWS Certified Solutions Architect - Professional and Hold All 5 Core AWS Certifications post.

Online Courses

AWS CodePipeline Step by Step course logo AWS CodePipeline Step by Step course logo

AWS CodePipeline Step by Step

Learn how to create CI/CD pipelines using AWS CodePipeline, CodeCommit, CodeBuild, CodeDeploy, and CloudFormation. Automate your deployments to Amazon EC2 and S3.

Click the link below to enroll with a special discount for Black Friday 2020 until December 1, 2020.

Enroll Now on Udemy!

Alternatively, use BLACK-FRIDAY-2020 coupon code during the checkout.

AWS CloudFormation Step by Step: Beginner to Intermediate course logo AWS CloudFormation Step by Step: Beginner to Intermediate course logo

AWS CloudFormation Step by Step: Beginner to Intermediate

Learn how to manage your infrastructure as code on AWS. Start creating CloudFormation stacks and writing your own templates using YAML as a beginner step by step.

This course will also be a basis for its advanced level version in the upcoming months.

Click the link below to enroll with a special discount for Black Friday 2020 until December 1, 2020.

Enroll Now on Udemy!

Alternatively, use BLACK-FRIDAY-2020 coupon code during the checkout.

RSS

Subscribe to this blog's RSS feed

Categories