Hello there,
I want to connect the VS Code to the Playground - AWS Account, is it possible to do so?
In the course, the instructor uses VS Code for Demos, but there is suggestion from him on how learners should do it.
And I feel, the videos are explained so fast and instructor doesn’t give any problems to practice.
Hi @manojnd9
Could you please share the course and the lab you are referring to?
Hi Santosh,
sure.
Course: AWS Cloud Practitioner (CLF-C02) under AWS Learning Path.
Lab: Playground - AWS
If you want to access the AWS CLI from VS Code, you can download credentials for the CLI by doing this:
- Go to the user menu (upper right on the console); this will show the same user name you used to log into the AWS console.
- Choose the Security Credentials item from the menu.
- Scroll down until you see the Access Keys block in the screen. This is where you can get the key pair for using the CLI.
This will only be good for the life of your session (an hour for an AWS lab), so it’s a bit of a hassle to set up, but if you want to use AWS CLI from your laptop for the lap, that’s how to do it.