Skip to main content

🤠 ChatGPT - Use ChatGPT for cloud 🤠

#cloud #azure #chatGPT

Hi All!

ChatGPT is a nice tool/extension for learning.

In this post we're not going to learn ChatGPT. Instead learn using ChatGPT.

Let me share my experience that I used an extension called ChatGPT: write and improve code using AI in visual studio code.

To survive in IT world, we need to update and upgrade our knowledge often and we could not say I won't do this one as I don't know. If we come out of it, we can miss a wonderful oppurtunity/growth of your future

Here we should accept the challenge as well as learn parallely. Even though we could get KT from the team, we need to dig into the concept well to do better.

Here ChatGPT appears infront of us to help.

Consider a scenario that you joined in a company as cloud developer or deploying into new team in existing company and tasked of terraform or AKS or something else which is new to you.

Let's say I joined into a new team and I have been tasked with terraform and other one. I have 2 files. First one is an YML file about Pod and second one is of a azure resource terraform file but I don't know about both

While deploying, terraform resorce provision or pipeline failed and I need to find the root cause of it.

Look into the below image to see how chatGPT help us to facilitate our analyzing, give some clue and save our time.

ChatGPT:Find problems option describes about what problem could happen with the code and give you the correct format of code for your reference.

If we don't know about the file we have, here we've pod file. Select a particular section or entire file and right click then use ChatGPT:Explain selection to know about the part.

In the terraform code, there is var keyword missing which leads to the pipeline failed / resorce provision failed. It is just for an example I intentionally missed var keyword.

The above extension will help you in any of the languages like .NET, Java, Python, Node... etc,

You can play around with many options from ChatGPT. Enjoy!

Note:After Installing ChatGPT above mentioned extension in VS Code, you have to generate a secret key in openai.com then update the secret value in VSCode ChatGPT's Extension settings Chatgpt:API Key

Comments

Popular posts from this blog

Azure Devops Bypass policy when code push - Glimpse Devops is a culture most of the organizations embrace it. In this article let's see what is branch policy in Azure Devops (ADO). Before that, we need to know what is policy (aka) Branch policy in ADO Branch policy has set of policies to be applied on the branch typically main. By that we avoid accidental activity. Few are as Reviewers required to view the code change before move to main/master branch work item - ADO's user story / task / bug etc., any of the item number should be linked Consider a scenario that your organization's existing project has some policies like most recent code pusher can not push code again. Very rare case may happen or not, a senior developer needs a exclusion to fix an urgent pre-prod/production incident. So He/She does not want to be in that case. They want to push their code often when discussing with client manager or customer So, how can we override the bran
Find your azure service/resource tab easily in chrome using an extension Irrespective of role like Azure devops, developer, network engineer, architect etc., we typically use azure portal primarily While working on issues and/or in presentation, we may require to have multiple azure tabs with different services Here consider a scenario that I am analysing an issue from logic app which uses azure function. So I need to visit logic app, function app and application insights if enabled. If we use single tab, it will take more time. So, we can have multiple tabs. Here logic app, azure function and application insights in each tab I would have. yes. It will save our time but consider that sometimes we would have more than 10 tabs at that time we may not know which tab has which resource because all browsers have A icon. So, while navigating, we may get annoyed. So, What's the solution when we use more tabs? Here we've a nice feature in chrome browser which provid
Azure storage account new access tier - Glimpse Azure has introduced a new access tier for storage account called 𝐂𝐨𝐥𝐝. What is the use of it where we already have 3 access tiers as 𝐇𝐨𝐭, 𝐂𝐨𝐨𝐥 𝐚𝐧𝐝 𝐀𝐫𝐜𝐡𝐢𝐯𝐞? Let us take scenarios as below. When our document will get frequently accessed - 𝐇𝐨𝐭 When my document will be infrequently accessed (i.e Within 30 days, it can be accessed. - 𝐂𝐨𝐨𝐥 If my document will be accessed after 30 days, 𝐞𝐚𝐫𝐥𝐢𝐞𝐫 𝐰𝐞 𝐠𝐨 𝐟𝐨𝐫 𝐀𝐫𝐜𝐡𝐢𝐯𝐞 access tier but now When my document needs to be accessed within 90 days at any time - 𝐂𝐨𝐥𝐝 Data retrieval from Archive needs some process like rehydrating (i.e converting from Archive tier to (Hot or Cool) aka offline tier to online tier). To save some cost, we can go for cold tier which allows us to keep our data for 90 days instead of archive tier. Limitations and known issues. The change feed is not yet compatible with the cold tier. Object rep