Showing posts with label questions. Show all posts
Showing posts with label questions. Show all posts

AWS - Practical & Scenario based Questions & Answers


Hello friends, 

In this post I want to inform you about some of the new activities I am trying to do. 

In order to make you equipped with more practical scenarios, I have decided to start #AWS #Question #Scenario series in which I would post a question on LinkedIn and Youtube community page. After few hours or next day, I shall reply as well. All are invited to participate and polish the understanding further. I request you to connect with me on LinkedIn - https://www.linkedin.com/in/knowledgeindia  

Also, the YouTube feed is great and it is enabled for our channel now. If you look at your Subscriptions in Youtube mobile app, you can see content from KnowledgeIndia. Or, you can also visit - https://www.youtube.com/user/knowledgeindia/community



A new series of video tutorials is coming which would be focused on practical scenarios only. Looking forward to hear from all of you. Check out the videos added recently and kindly help us by sharing the videos and content on LinkedIn. 


Query from KnowledgeIndia Viewers - 001



I got following questions from one of our viewers and I thought of answering it here --

Please SUBSCRIBE to this blog by entering and VERIFYING your email on right side.
1. Can we limit versioning, Meaning to ask, versioning if enabled keeps all the modified files, can I limit it to the last 3 modifications?
ANS: You can limit it by time. E.g. that versions of last 3 days would remain there. You can move older versions to different storage classes with help Lifecycle Policies. In another case, you can write your custom Lambda function which gets invoked every time an object gets created and it could check and keep last 3 versions of that object and delete anything older.




2.When I choose s3 from the console, it doesn't allow me to choose a region from the console, Whereas after going into S3, it allows me to choose a region? why is that?
ANS: Many people have got that confusion. In case of S3, you see all your buckets (irrespective of their region) in one UI. That's why you cannot choose region at top. But, an S3 bucket belongs to one region only, hence you need to choose that when you are creating an S3 bucket.
3.What is the need to mandate versioning in cross-region replication? Any theory behind it?
ANS: Few things are done based on Engineering choices done by the product development team. I guess this is one out of them. A very good read is this page -- http://docs.aws.amazon.com/AmazonS3/latest/dev/crr-what-is-isnot-replicated.html



4.When I give a user named trinity, full S3 admin access in IAM, and then I create a bucket named Skynet only for few users, will trinity(user) still have full access over Skynet(bucket) ?
ANS: How are you ensuring that Skynet is created for few users? When you create a resource, you don't create it for a user, rather you use IAM to control which user can access that resource. In the above case Trinity has full S3 access and hence she would be able to access Skynet. But, you can explore the opportunity of denying her access at Bucket Policy level (defined at Skynet bucket).

5. After enabling cross region replication , if i delete the content in the source or destination , that deletion is not getting replicated . i can still see the file intact in my destination folder ? [In my case, though i replicated only a part of the file from the source, [replication was successful] , But when i deleted the whole source bucket, the files still where intact in my destination ?

ANS: This is the behavior shown by S3.

Selected videos!