I’ve been in the industry for a long time, so I understand why the big cloud players want to lock users into predefined configurations of compute, memory, and storage. It helps balance and maximize resources, which optimizes their platform density, and of course brings them higher margins. But this isn’t best for customers. If I […]
Cloud Server Performance Metrics
It’s hard to really know what you get when buying cloud services today. Depending on the vendor they might sell their services with set amounts of “cores”, or “compute units”, or “vCPUs”. Storage might be spinning disks in speeds ranging from 7,200 RPM to 15,000 RPM or the storage might be newer solid state drives […]
Hosting, Linux, performance, WindowsStarting All Sites in IIS on a Windows Server
So I recently had to do some work on a server that required stopping all sites in IIS but without stopping IIS itself. Here’s the short post on how I did that. Now of course I needed to have all the sites turned back on again. Just restarting IIS wouldn’t do what I needed – […]
Stopping All Sites on a Windows Server Without Stopping IIS
I had a need recently to stop all the sites running on a Windows server, but I didn’t want to stop IIS. This specific server has hundreds of sites running on it, so stopping each one at a time would have taken an excessive amount of time. So with a little Google-fu I stumbled across […]
Hosting, IIS, System AdministrationSecurely “Wiping” Hard Drives
Being a tech person I know that just deleting a file from within Windows or Linux doesn’t assure that the data isn’t recoverable. Most files when removed using normal operating system delete functions can still be recovered with a variety of fairly easy-to-use utilities. Because of this, I historically have pulled hard drives from systems […]
WordPress IIS and PNG Not Showing Up Headaches
Okay, this bit me again today, and I didn’t remember the solution from previous research so I had to research it again. That to me means I need to write it up in a blog post. :) I’m running WordPress for this blog. It is hosted on a Windows 2012 R2 server (usingĀ IIS, not Apache) […]
Razor Hello There Sample!
This is my version of a Hello World application. I don’t want to just write “Hello World!” to the screen in a web page because, well, that’s just too basic. So what I’ll do is write a very simple form, post the form back to itself (the same page), collect data from the form, then […]
Sending Email Code Sample (Razor, C#)
A *really* common and popular thing to do with web pages it to send email. That email might be a feedback form, or an order confirmation, or a variety of other functions. Below is the complete contents of a page I named SendEmail.cshtml. I’ll throw it out there right at the start in case you […]
Loop Through Database Records (C#, Razor)
Here’s a code sample showing a quick and easy way to loop through the results of a SQL query and display them on a web page in a list.
EC2 Error: The request must contain the parameter instance id
I was trying to associate an elastic IP to a running EC2 VM today and kept hitting this error. There is surprisingly little available via Google when typing in the error message – nothing actually with an exact match. So I figured I’d drop a quick post to help out other people like myself who […]