Terraform provider.aws: no suitable version installed
The new versions of Terraform do not contain all plugins after the application installation. When you try to access a provider the first time, Terraform may not be able to communicate with it. * provider.aws: no suitable version installed version…
Failed to complete #create action: [undefined method `version’ for nil:NilClass] on …
When you execute kitchen converge to launch an EC2 instance in AWS with Chef Test Kitchen, you get the error message: >>>>> ——Exception——- >>>>>> Class: Kitchen::ActionFailed…
Could not load the ‘ec2’ driver from the load path
When you execute kitchen list and the driver in your .kitchen file is “ec2“, the following error message appears: >>>> ——Exception——- >>>>>> Class: Kitchen::ClientError…
CloudExceptions::CloudException – 400: VPCIdNotSpecified: No default VPC for this user
When you launch a new EC2 instance in the AWS cloud from the command line or with other cloud management platforms, you may get the error message: CloudExceptions::CloudException – 400: VPCIdNotSpecified: No default VPC for this user (RequestID:…
Create the AWS credentials file from a Chef Data Bag
When a process on a server instance needs access to an AWS account, the user who will execute the AWS CLI commands needs to be able to automatically authenticate in AWS. For automatic AWS authentication, the AWS CLI creates two files in the…
Error waiting for instance (i-…) to become ready: unexpected state ‘terminated’, wanted target ‘running’
When you launch a server instance with Terraform, sometimes the error message does not contain the underlying cause. When the cloud provider cannot complete the request, many times Terraform displays a generic error message: Error waiting for instance…
Find the AWS AMI that a RightScale server template is using
When you use RightScale to launch servers in the cloud, you want to use the same base image to test your Chef cookbooks in Test Kitchen. Packer by Hashicorp is a utility to create custom server images based on cloud images. You supply the image ID and…
Migrate databases to and from AWS RDS instances
Amazon Web Services do not provide tools to migrate data to, from and between AWS RDS instances. There is a free utility that can do the job. SQL Server Management Studio (SSMS) Install Microsoft SQL Server Management Studio (SSMS), because the utility…
DevOps Engineering part 1. (Mac) – Make your Macintosh easier to use
Enable the right-click To be able the right-click on the mouse Sounds Disable the startup sound To disable the sond during the computer start Enable notifications when external monitors are connected By default notifications are turned off during screen…
DevOps Engineering part 5. – Create an enterprise cookbook
In this exercise we will create a Chef cookbook for a corporation. It will be robust and include all the necessary elements to be used in a large enterprise. If your company already has established standards, as you progress with this tutorial, copy the…