______________________________________________________________________
In this video, we discuss a Real-Time scenario where the interviewer asked the candidate to create an S3 bucket and access that S3 bucket from a build server using IAM Roles and AWS CLI.
AWS CLI Commands used:
aws s3 ls ------------------------------------------------# To Get a List of All S3 buckets.
aws s3 ls s3://cp-b00-demo ----------------# To list a particular S3 bucket.
touch file.txt ----------------------------------------# Create an empty file
echo "this is a demo, putting in some random text into the file" file.txt ---# echo the content to file.
cat file.txt ---------------------------------------------# see the content of the file
aws s3 cp file.txt s3://cp-b00-demo -----# copy file to s3 bucket.
aws s3 cp s3://cp-b00-demo/index.html . -------# copy file from s3 bucket to current directory
sudo yum install httpd --------------------------------------# install Apache web server.
cd /var/www/html/ -------------------------------------------# change directory to location.
______________________________________________________________________
Unlock the potential of your career: Join the Cloud Journey with Cloud Patashala.
Learn the latest AWS Cloud and DevOps tools, through our comprehensive and hands-on courses. Discover the power of the cloud and how it can transform your career.
For more information on our course offerings, batch durations and how to join, visit our website cloudpatashala... or contact us at info@cloudpatashala.in.
Don't miss this opportunity to elevate your career to new heights with Cloud Patashala.
Cloud Patashala
cloudpatashala...
email us @ info@cloudpatashala.in
Telegram: t.me/cloudpata...
Facebook: / cloud.patashala
Негізгі бет AWS Project & Interview Task | Creating IAM Roles for EC2 to Access S3 Bucket
No video
Пікірлер