📜 ⬆️ ⬇️

AWS: CloudFormation now supports RDS parameter groups and EBS and RDS accelerated media

Hi, Habrasoobschestvo! image

Starting today, in the description of AWS CloudFormation templates, there are options that allow you to customize both the latest innovations from Amazon and already very ancient features that the community has asked to include for a very long time.

RDS group parameter.


All RDS servers can be raised with standard settings. But there is no root access to the servers, so it is impossible, for example, to include the ability to store procedures in RDS MySQL. For this, there are parameter groups that can be created and configured via the API or CLI.

So, previously, when raising the infrastructure through CloudFormation, it was impossible to create a parameter-group and get RDS there. AWS now included this option in the CloudFromation templates as:
{ "Type": "AWS::RDS::DBParameterGroup", "Properties" : { "Description" : String, "Family" : String, "Parameters" : DBParameters } } 

Moreover, the parameters are listed in the form:
 "Parameters" : { "Key1" : "Value1", "Key2" : "Value2", "Key3" : "Value3" } 

')
Thus, it is even more convenient to automate the work on the creation of infrastructure with RDS. All about the feature can be found here .

EBS accelerated media and RDS disks


Not so long ago, AWS introduced EBS accelerated media, and the week before last — the same features for RDS drives. Since then, you can achieve truly incredible IO speeds. Starting today, these settings are also available in the CloudFormation templates. Disk description now looks like this:
 { "Type":"AWS::EC2::Volume", "Properties" : { "AvailabilityZone" : String, "Iops" : Integer, "Size" : String, "SnapshotId" : String, "Tags" : [ Tag1, Tag2, ... ], "VolumeType : String } } 


Moreover, the Iops parameters will matter if the VolumeType is set to io1 and not standard . More on these options here .

By the way, an article about autoconfiguration in AWS is already in development. My colleague writes it, and you can read it on a habr in the near future.

Source: https://habr.com/ru/post/155005/


All Articles