How to create user and password in Windows EC2 instance using boto3 Script

0 votes

I have a windows EC2 instance on AWS Cloud. I would like to create user and password using boto3 from my local system. Is possible to create user credentials using boto3?
Sep 23, 2020 in DevOps on Cloud by Lakshminarayanan
• 1,370 points

1 answer to this question.

0 votes

I don't think AWS will allow you to create new user. By default, you will get Administrator username in your Windows instance.
answered Sep 23, 2020 by MD
• 95,300 points
yes bro, i agreed. But i need some other user than Administrator. So i need to create user in windows instance. Is possible to do with boto3?

Yes, I understood your requirement. But according to my knowledge, you can't even create a user in another way also. Did you find any official AWS documentation regarding this?
Not yet bro. Thats why i come here for solution. Any other script to create user than boto3?


Yes. we are always here to help you. But the thing is that the concept should exit in AWS. For example, if you consider a Linux system, then you need to login ec2-user or may be another user according to AMI. Same for Windows as well. Go to your AWS dashboard and connect from there. You will get a file. That file can only be accessible by Administrator.

Except boto3, can we create any user in windows instance by any script?

According to me, you can't do this by any script. Windows instance works on the RDP protocol.

Related Questions In DevOps on Cloud

+1 vote
3 answers
0 votes
0 answers

How to mount the S3 bucket using IAM role or S3fs and use in ElasticBeanstalk

Hi Team, Can you please confirm how we ...READ MORE

Sep 20, 2019 in DevOps on Cloud by rahulkathpal
• 120 points
0 votes
1 answer

How to manage Application version for VM's in Azure Autoscaling group

First of all, You have to launch ...READ MORE

answered Apr 23, 2018 in DevOps on Cloud by shubham
• 7,320 points
0 votes
1 answer

How to control development/prod/staging application settings using azure functions?

You should use a build-release system like ...READ MORE

answered May 10, 2018 in DevOps on Cloud by ajs3033
• 7,280 points
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
0 votes
1 answer

How to use the pipeline setup and deploy the war file using the ansible,docker and kubernettes

Hi@Venkata, You can create an Ansible-Playbook to deploy ...READ MORE

answered Sep 1, 2020 in DevOps on Cloud by MD
• 95,300 points
0 votes
1 answer

How to use aws-cli commands inside Boto3?

Hi@Lakshminarayanan, I am not able to understand the ...READ MORE

answered Sep 21, 2020 in DevOps on Cloud by MD
• 95,300 points