Submitted by heartin on Wed, 08/09/2017 - 15:11
If a file upload is successful, you get 200 OK HTTP status code.
HTTP status code for following error codes is 403 Forbidden: AccessDenied, AccountProblem, CrossLocationLoggingProhibited, InvalidAccessKeyId, InvalidObjectState, InvalidPayer, InvalidSecurity, NotSignedUp, RequestTimeTooSkewed, SignatureDoesNotMatch.
Submitted by heartin on Thu, 08/03/2017 - 11:14
Will list down imporant notes on S3 APIs here.
“dual-stack” endpoint and IPv6
The “dual-stack” endpoint supports access over both IPv4 and IPv6. In most cases, no further configuration is required for access over IPv6, because most network clients prefer IPv6 addresses by default.
Submitted by heartin on Thu, 08/03/2017 - 08:31
S3 Lifecycle management provides the ability to define the lifecycle of your object, mainly to reduce your cost of storage. For example, you can set infrequently accessed objects to move into lower cost storage tier (like S3-IA) after a period of time. After another period, it can be moved into Amazon Glacier for archive and compliance, and eventually deleted.
You can set lifecycle transition policy to:
Submitted by heartin on Wed, 08/02/2017 - 01:08
A signed URL includes additional information such as an expiration date and time that gives you more control over access to your content. This additional information appears in a policy statement, which is based on either a canned policy or a custom policy.
Custom policy provides more flexibility over canned as it allows reuse the policy, and to specify date and time that users can begin to access and IP address or range of IP addresses of the users who can access, and includes a base64-encoded version of the policy.
Submitted by heartin on Tue, 08/01/2017 - 23:32
We will discuss some of the features of S3. Other features may have a separate page of its own.
Static Website Hosting
Submitted by heartin on Tue, 08/01/2017 - 23:30
We will discuss some of the policies of S3. Other policies may have a separate page of its own.
S3 charges you for following:
Data storage (monthly). Is different for different region.
Requests to the buckets and objects
All data transferred out (e.g. downloads), but no charges for data coming in (e.g. uploads).
Submitted by heartin on Tue, 07/25/2017 - 19:25
Once you enable Versioning for a bucket, Amazon S3 preserves existing objects anytime you perform a PUT, POST, COPY, or DELETE operation on them. You can enable versioning while creating an object or from Properties tab of the bucket.
Important notes on versioning:
The bucket owner, the AWS account that created the bucket (root account), and all authorized IAM users can enable versioning.
Submitted by heartin on Tue, 07/25/2017 - 19:22
S3 Analytics, S3 Inventory, and S3 CloudWatch metrics can be found under “Management” tab in the S3 Console. Tags and Cross Region Replication (CRR) can be found under advanced settings under Properties tab. As CRR is a very common use case, we will also have a lab for it. Lifecycle rules are discussed in detail here.
Submitted by heartin on Tue, 07/25/2017 - 18:13
S3 support tiered storage and has lifecycle management to decide what data sits on which tier.
S3 (regular S3)
S3 – IA (Infrequently Access)
Submitted by heartin on Tue, 07/25/2017 - 07:55
When a request is made, the AWS service decides whether a given request should be allowed or denied as follows:
By default, all requests are denied.
An explicit allow (Effect=allow + condition(IpAddress/NotIpAddress)) overrides this default.
An explicit deny (Effect=deny + condition(IpAddress/NotIpAddress)) overrides any allows.