![]() There are many ways to utilize it, depending on the size and/or types of files being stored, as well as the frequency the files need to be accessed. S3 is really nice file storage service that costs little to nothing to store files and data. Service Overview: S3 (Simple Storage Service) You'll be presented with a form to fill out: Once that is sorted, we'll create the bucket that stores the files that will make-up our webpage.Ĭreating a bucket is really simple, first click on "create bucket". ![]() ![]() It was only $13 to purchase a new domain on Route53, so not too bad, but something to keep in mind if you've already purchased a domain you want to use elsewhere. Sadly, I had to go this route since the domain I had paid for on Cloudflare could not be transferred. In some cases, a domain can be transferred to Route53 for authentication, but in the event it cannot be transferred, you may need to purchase a new domain on Route53. I'm assuming if you're wanting to build your own website, you'll already have a domain name purchased. It takes little to no time to set up and could save you the pain of paying hundreds, if not thousands of dollars. I would also encourage you to add a billing alert with a threshold of $5 or so, so that if any of your costs go above $5, you are sent an email or however you would like to be alerted. It's very important to add MFA since if anyone were to gain access to your account, they could abuse services and you may be surprised by a very high bill! Once my code was ready, I headed over to AWS, opened up the management console and opened up S3, where I would need to upload all my files.įor added security, at this point in the project, I made sure not to use my root account and instead created an IAM user, added rules and permissions needed for the services I would be using, and added MFA to login. I even asked the help of chatGPT but by the end, I had taught myself divs and CSS to the point where I could build the last remaining parts all on my own, which felt like an amazing achievement all on its own! Since I had only ever used HTML before and never CSS, this was quite the learning process and took me a few days and tons of googling. If you're looking for a solid program to build your next web application on, I highly recommend it. I explained a bit above how each of these services will be used, so I hope it makes sense! We'll dive into each individual part as well.įirst, I needed to code my website! For this, I used Visual Studio Code, a free coding application provided by Microsoft. Since I am admittedly still learning, I did not opt to use anything fancy here, and just built a simple architecture diagram over on the free web UI app, draw.io. Logs files will be in JSON format and configured to be sent to an S3 bucket for storing and analyzing via Splunk using add-on.īefore beginning any project, it's always nice to have a simple diagram or idea jotted down or drawn somewhere so that we have a good grasp of what we will need to achieve our goal. AWS CloudTrail - Generate logs whenever an API call is made.Splunk - installed on an AWS EC2 instance and configured to accept logs generated from AWS CloudTrail.AWS CloudFront - Used to host the S3 hosted website, enabling HTTPS protocol with added benefits and authentication certificate for both www version and non-www version redirects for the web page.AWS Route 53 - Used to handle Domain Name Service assignment (Domain name purchased originally on Cloudflare).AWS S3 buckets - where files and policies for the website will be stored and served, as well as CloudTrail logs for Splunk to pull from.Visual Studio Code: HTML/CSS for website.List of AWS services and how they will be used: ![]() Goal: To set up a Dashboard in Splunk where I can monitor network activity and alerts regarding the security of my professional website hosted on AWS.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |