Do you have an option to execute the script to the aws ec2 instances currently running in your account without logging into its console?



Do you have an option to execute the script to the aws ec2 instances currently running in your accou..

Answer / Saurabh Vishnoi

Yes, there are several ways to remotely execute scripts on AWS EC2 instances, including using SSH for Linux-based instances or Windows Remote Management (WinRM) for Windows instances. Additionally, you can use AWS Systems Manager Run Command or Amazon CloudWatch Events with Lambda functions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Amazon Web Services (AWS) Interview Questions

How will you change the instance type for instances which are running in your application tier and are using Auto Scaling? Where will you change it from the following areas?

1 Answers  


What are the iaas, paas and saas services in aws

1 Answers  


While creating the snapshots using the command line tools, which command should I be using?

1 Answers  


What if I even have associate existing db instance that i’d wish to cover with a reserved instance?

1 Answers  


A corporation is deploying a brand new two-tier internet application in aws. The corporate has restricted workers and needs high handiness, and also the application needs advanced queries and table joins. That configuration provides the answer for the company’s requirements?

1 Answers  


What would be the default ip range in default vpc?

1 Answers  


Can s3 be cast-off with ec2 instances, in case of “yes” please specify how?

1 Answers  


What is route53?

1 Answers  


Why aws limits elastic ip’s to 5? What if I want to have more?

1 Answers  


What are type of instances and how their costing is done?

1 Answers  


Justify services user can’t use to deploy an app?

1 Answers  


How can you control the security to your vpc?

1 Answers  


Categories