Comments for easydeploy.io https://www.easydeploy.io/blog/ A Cloud Architect Company Thu, 30 Mar 2023 03:40:08 +0000 hourly 1 https://wordpress.org/?v=6.2.2 Comment on How to Use Terraform Workspaces on Terraform Cloud with VCS? by Jerin Rathnam https://www.easydeploy.io/blog/terraform-workspaces-on-terraform-cloud/#comment-3649 Wed, 29 Mar 2023 11:00:46 +0000 https://www.easydeploy.io/blog/?p=1774#comment-3649 In reply to Bryan Meier.

Hi Bryan,

Thanks for asking this. It seems you have great knowledge of Terraform.
So, when you run terraform cloud remotely like using vcs providers, there is no need to configure terraform block with cloud block.
You can see my code which is mentioned as main.tf, that does not contain terraform block. Terraform block is needed if you run your code from your local like Terraform Cli and you want to connect with Terraform Cloud.

The below terraform block is for run terraform from CLI to Terraform Cloud.

terraform {
cloud {
organization = “my-org”
hostname = “app.terraform.io”

workspaces {
tags = [“dev”, “prod”]
# name = “dev”
}
}
}

This is the terraform block with cloud block configurations. And inside the workspace block, I have 2 arguments. We can only use one of the arguments either ‘name’ or ‘dev’.
If you want to use your terraform code in a single workspace then you can use the ‘name’ argument. Otherwise, you can use ‘tags’ to mention multiple workspaces.
As you mentioned in your reply, if your code has ‘name’ = ‘dev’, then it only runs in the dev workspace.

I think I am fulfilled with your question. If you need more clarification, any time you can ask me. I am ready to help you.
And I am pretty sure I will create a blog about terraform backend types. That will help you to get a better understanding of the terraform block.

Thanks,
Jerin

]]>
Comment on How to Use Terraform Workspaces on Terraform Cloud with VCS? by Bryan Meier https://www.easydeploy.io/blog/terraform-workspaces-on-terraform-cloud/#comment-3618 Thu, 23 Feb 2023 21:08:00 +0000 https://www.easydeploy.io/blog/?p=1774#comment-3618 Hi Jerin,

I enjoyed your article on terraform cloud and deploying to multiple environments. I used this article as a guide for setting up a couple environments that we have. I have a question for you which may have not ran across before if you have time. 🙂

In our case we have a dev environment and prod environment as described in your article. We have used a different variable set for each workspace for the purposes of account and credential information. This seems to work fine.

What I don’t understand with Terraform Cloud and can’t find any documentation around is how the terraform block works with different workspaces. I’m specifically talking about the workspaces block within the cloud block. Is this ignored during run if it’s ran via remote?

Using your example, I am assuming at the top of you main.tf file you have something that looks like this:

terraform {
required_version = “>= 1.1.1”

cloud {
organization = “xyz_org”
workspaces {
name = “dev”
}
}
}

If you are using the same main.tf file in both your dev and prod workspaces and your main.tf file has the workspace defined as dev. I am guessing this is ignored when a run executes in your prod workspace. Is that true? That seems to be what I am seeing.

Thanks writing for the article and the response in advance!

]]>
Comment on How much does it cost to host a website on Microsoft Azure? by Julian Ndumbe https://www.easydeploy.io/blog/hosting-website-cost-microsoft-azure/#comment-3553 Wed, 30 Nov 2022 08:55:35 +0000 https://www.easydeploy.io/blog/?p=281#comment-3553 My personal experience was great using Azure, however they are too expensive if we use SQL database. It is easy to deploy .net project. Maybe I’ll back again to them if I want to host large application. At this time, I’m happy with my current provider, Asphostportal, since they are also great and provide affordable hosting solution.

]]>
Comment on How much is Google Cloud Storage? by Top 20+ how much is cloud storage https://www.easydeploy.io/blog/google-cloud-storage-price/#comment-3529 Tue, 01 Nov 2022 22:03:43 +0000 https://www.easydeploy.io/blog/?p=1148#comment-3529 […]]]> […] Source: 🔗 […]

]]>
Comment on How to use the Startup Script in Google Compute Engine? by Kris https://www.easydeploy.io/blog/how-to-use-the-startup-script-in-google-compute-engine/#comment-3453 Sun, 14 Aug 2022 22:03:38 +0000 https://www.easydeploy.io/blog/?p=1270#comment-3453 I don’t see any difference from https://codelabs.developers.google.com/codelabs/cloud-compute-engine#6

Also it is very very basic and not useful in realtime

Do you have an article that runs a java application i.e. nohup java -jar ***** from startup script?

]]>
Comment on Top 7 DevOps Certifications in 2019 by Anonymous https://www.easydeploy.io/blog/best-devops-certifications/#comment-3379 Wed, 23 Mar 2022 14:49:16 +0000 https://www.easydeploy.io/blog/?p=394#comment-3379 Your article about the certifications in DevOps gives the basic details for the freshers those who want to built up therir careers as a DevOps. Its really Helpful. Thanks for your valuable infomation!!

]]>
Comment on How to Become an AWS Cloud Architect? by Dhanush https://www.easydeploy.io/blog/how-to-become-aws-cloud-architect/#comment-3373 Mon, 07 Mar 2022 12:42:54 +0000 https://www.easydeploy.io/blog/?p=555#comment-3373 Hi Siranjeevi R, I went through a blog. It helps me for getting AWS Certification exam preparation is excellent. Amazing blog…!

]]>
Comment on How much does it cost to host a website on Microsoft Azure? by Siranjeevi R https://www.easydeploy.io/blog/hosting-website-cost-microsoft-azure/#comment-3273 Thu, 27 May 2021 08:30:05 +0000 https://www.easydeploy.io/blog/?p=281#comment-3273 In reply to David Wethe.

It is every hour of every day. You can contact us at https://www.easydeploy.cloud/contact-us if you have further query.

]]>
Comment on How to Setup RDS Auto Scaling in AWS within 15 Minutes? by Siranjeevi R https://www.easydeploy.io/blog/setup-rds-auto-scaling-in-aws/#comment-3272 Thu, 27 May 2021 08:28:04 +0000 https://www.easydeploy.io/blog/?p=584#comment-3272 In reply to Narender Kandikonda.

For now, it is only available for Aurora MySQL and Aurora PostgreSQL.

]]>
Comment on How to Setup RDS Auto Scaling in AWS within 15 Minutes? by Siranjeevi R https://www.easydeploy.io/blog/setup-rds-auto-scaling-in-aws/#comment-3271 Thu, 27 May 2021 08:27:17 +0000 https://www.easydeploy.io/blog/?p=584#comment-3271 In reply to Gaurav Makwana.

Yes, AWS has announced steps for PostgreSQL but you need to choose Aurora PostgreSQL serverless to have autoscaling enabled.

]]>