What is userdata and where is the userdata stored in linux?
User data in AWS EC2 is a script or set of configuration instructions you pass to an instance at launch to automate setup tasks (such as installing packages or starting web servers) as the root user. On Linux EC2 instances, cloud-init typically stores the downloaded user data file at /var/lib/cloud/instance/user-
How do you switch to another user?
To switch to another user or identity in AWS, sign in with that user's credentials in a new session/tab or sign out and sign back in—or use Switch role if you are assuming an IAM role.
Загрузить больше вопросов