So it came to my attention that when a user on the site tries to checkout without logging in you get the following error. A fix for this is adding the following code in checkout.aspx.cs I had to make an error page to handle this and it looks like this instead of erroring out now. […]
Category: Dinstore Build
Lab 10: Configuring DNS with Route 53
Adding a Domain name to my servers make it more accessible through the web, instead of remembering the IP address you just need to know the domain name eg. google.com Note: I have never done this before. When I assign a domain name to a web server I just point the domain name to the […]
Lab 9: Enabling Auto Scale to Handle Spikes and Troughs
Auto scaling is a web service that can launch or terminate EC2 instances automatically. First I must go into the AWS EC2 dashboard and into auto scaling. Now I can create my Auto scaling group. First I selected the instance, in this case, my Webserver I gave it a name and selected my Webserver role. […]
Lab 8: Using ELB to Scale Applications
In this Lab I will setup Elastic Load Balancing, this is when your application traffic is distributed over multiple EC2 instances. First I need to go to my AWS EC2 dashboard and create a load balancer. I created a the ELB and pointed it towards my two Webservers I made. Now I just need to […]
Lab 7: Using Elastic IPs
To do this we first start in Elastic IP’s in the AWS EC2 Dashboard, Then go and allocate a new address. Now once it’s given me an IP address I can then go and Associate address. I then choose my Webserver. Now I have the IP address linked to my Webserver I should be able to […]
Lab 6: Creating and Using AMIs
I start off by creating images of my Webserver and my Queue server. Webserver: Queue server: Now I just need to wait for the images to be created, I can monitor the progress in the AMI menu. Now that they have finished I can launch them, I will start with the Webserver. I set it […]
Lab 5: Adding EC2 Virtual Machines and Deploying the Web App
In this lab, we will start by creating a policy in IAM. I am creating the Policy by using the Generator Then I created the policies needed. I now need to create a new role inside of IAM that Now I get to make an INSTANCE!!! I will create a Windows Server 2012 R2 using […]
Lab 4: Configuring the System to Use Simple Queue Service.
In this lab, I will create a notification system for orders, first I need to go to AWS and create a new queue is SQS management. Now I must test to make sure the queue is actually working by sending a test message to it. I just called the message test. Now I need to […]
Lab 3: Using DynamoDB as a Session State Provider
First off I need to create a DynamoDB. The session table was creating using documentation from the lab, from the name to the Session ID. I need to check that in my solution I have specific AWS packages installed which I can check in the NuGet. I had to install the .NET packages and the iQuery […]
Lab 2: Using RDS with ASP.NET Applications
In this lab, I move my local Dino Store database to Amazon’s RDS. First I had to go to RDS in AWS and create a new instance, this was a free tier instance so the settings are default, besides the username and password. I also had to set a security group to allow inbound from […]