Which one depends on how much data, your tolerance for non-free software, and which features you prefer. For that, you might want to use Dropbox, SpiderOak, ownCloud, or SparkleShare. Let’s look at how you can take advantage of Amazon S3 on Linux.Īmazon S3 isn’t what you’d want to use for storing just a little bit of personal data. It’s cheap, can be used for storing a little bit of data or as much as you want, and it can be used for distributing files publicly or just storing your private data. 8.Amazon’s Simple Storage Service (S3) has a lot to like. We would make use of another AWS service called CloudFront together with Route 53 and Certificate Manager to host a secure website on S3. Keep in mind that although we have this nifty feature, it’s not the recommended method of hosting a website. If we’ve configured everything correctly, the index.html file will be loaded when we navigate to the URL. The default URL for an S3-hosted website takes the form: So if our example bucket linux-is-cool is hosted in the us-east-1 region, the website URL would be: We added two key parameters as well: index-document is important as it tells S3 which page to use as the default landing page for visitors to our site, while error-document tells S3 which page to serve as the default error page. Bucket permissions are handled automatically. The website command instructs S3 to configure the bucket to behave like a website. Let’s look at the website command: $ aws s3 website s3://linux-is-cool -index-document index.html -error-document error.html We need to configure our bucket in a specific way to enable this feature. We can use a unique S3 feature that enables us to use an S3 bucket for hosting a website.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |