
Explore amazon web services by setting up an amazon ec2 server, hosting a demo asp.net website, and integrating s3, ebs, and cloudfront to deliver content via a cdn.
Learn to estimate AWS EC2 hosting costs with on-demand pricing and the pricing calculator, using a sample T2 micro setup, EBS volume, and Elastic IP.
Register for the AWS free tier, create your account, verify payment, and set up basic support before signing into the console to launch EC2 resources.
Launch a free tier t2 micro EC2 instance using the AWS console, and learn about regions, VPC, subnet configuration, security groups, IAM users, key pairs, AMI, and EBS.
Explore how virtual private clouds secure ec2 deployments by configuring regions, default vpc, security groups, ip addresses, and network interfaces for scalable aws infrastructure.
Select a Windows Server AMI, preferably Windows Server 2012, and deploy a t2 micro instance for the free tier, then configure VPC defaults, public vs elastic IPs, and IAM roles.
Configure IAM roles to grant EC2 instances specific permissions via policies, while managing users, groups, and policies to secure access to AWS resources with temporary credentials where appropriate.
Create and apply an AWS IAM policy for EC2 access, defining start, stop, and reboot actions with tag conditions and attaching to roles, groups, and users.
Learn to manage AWS EC2 with IAM users and roles, grant limited permissions, share credentials securely, and configure login URLs, access keys, and storage for a demo ASP.Net website.
Explore elastic block storage options: general purpose, provisioned iops, and magnetic volumes. Assess iops needs, ssd performance, and data persistence with secure tagging and basic firewall rules.
Manage an aws ec2 t2 micro instance from the console, including region, public ip reassignment on stop/start, key pair encryption, security groups, and iam policy basics.
Allocate and attach an elastic IP to an EC2 instance to persist the public address across restarts, then connect via remote desktop using the prefilled DNS and administrator credentials.
Install the IIS web server on an AWS EC2 instance, enabling ASP.NET 4.5 and WCF HTTP activation, with steps to configure EBS and DNS for hosting an ASP.NET demo app.
Install SQL Server Express on an EC2 Windows instance via RDP, using a Windows Server AMI and SQL Server 2012 Express Edition.
Learn to set up SQL Server Express and Management Studio on an AWS EC2 instance, navigate security settings, and complete installation using PowerShell.
Install and configure SQL Server on an EC2 instance, choose mixed authentication, verify services and protocols, use localhost connection in SQL Server Management Studio, and follow security best practices.
Install the SQL Server database engine, configure mixed mode authentication, and connect from SQL Server Management Studio to a local or remote SQL Server on EC2 for a demo site.
Explore the structure of an ASP.NET album management website hosted on AWS EC2, featuring login, signup, manage profile, and image upload pages built with Dapper ORM.
Design a relational database for an asp.net site by creating member, album master, and album photos tables with primary, foreign, and composite keys.
Create an asp.net login and signup page in visual studio with a master page, jquery ui, css, and aws api integration, plus a data layer with member and album models.
Map class names to tables with dapper as the ORM, generate model classes via a code generator template, and configure the connection string in web.config for CRUD operations.
Build an AWS data layer in ASP.NET using Dapper and Dapper.Contrib, configure computed and identity columns, and implement parameterized queries with mapped results.
Learn to implement member and album logic, handle photo uploads, map album and member tables with dapper, and return ajax-driven JSON responses in a demo hosted on AWS EC2.
Implement a login and profile flow by validating credentials, storing the member in session, and returning JSON responses with Newtonsoft for session and album management on EC2-hosted pages.
Configure plupload for profile image uploads with JavaScript and CSS, a hidden file input, browse dialog, progress bar, and HTML5 with flash fallback, then deploy the project to EC2.
Host your website on an EC2 instance by starting the instance, configuring IIS with a virtual directory application, and updating the web.config to point to a named SQL Server instance.
Set credentials for an ec2 hosted site by configuring the application pool identity and testing authentication, using windows authentication or a sql login as needed.
Build and manage photo albums on an EC2-hosted site, enabling user sign up, login, image uploads, and URL rewriting for user-friendly album pages.
Extend EC2 capacity by upgrading instance type and storage, manage security groups, and prepare for auto scaling, while using Amazon S3 for static files and comparing it with EBS.
Discover how S3 versioning adds value by preserving object history and enabling safe updates. The session also covers logging, static website hosting, tagging, cross-region replication, events, and requester pays.
Enable S3 versioning to associate a unique version id with each object, and use lifecycle rules to govern current and previous versions, including expiration and delete markers.
Learn best practices for managing AWS access keys by avoiding root keys, creating an IAM user, and applying targeted policies and tags to restrict access.
Adopt IAM roles with temporary security credentials instead of long-term keys to reduce risk and enable automatic rotation on EC2, CLI scripts, and mobile apps.
Create and manage AWS access keys in the console, securely store them, and integrate with S3 using a .NET helper to upload files, list buckets, and create folders.
Create an AWS wrapper class that initializes an Amazon S3 client with access key, secret key, and region endpoint, and implements bucket existence checks and bucket creation with exception handling.
Explore building an AWS wrapper to create and reuse S3 buckets for albums, including handling HTTP responses and config keys. Ensure bucket names are lowercase and handle existing buckets gracefully.
Learn to upload images to an S3 bucket for a given album using the transfer utility, configuring multi-part uploads, bucket naming, and credentials in an AWS wrapper.
Debug and fix S3 uploads by checking bucket existence, correcting bucket name usage, and enabling public read access so images display via S3 URLs instead of local files.
discover streaming data into an AWS S3 bucket, uploading and displaying images via S3 URLs, configuring public access, and updating code to save image records in SQL Server.
Explore listing objects from an s3 bucket using the latest list object version two, with max keys to fetch only ten items and improve page response time.
List S3 bucket objects with prefix filters and continuation tokens to implement pagination. Track the continuation token, refresh results, and generate signed URLs for private images.
Create a select button for each row in an S3 bucket grid, display image previews, and switch from public read access to signed URLs via the AWS API.
learn to generate signed URLs for S3 objects using a get pre-signed URL request, specifying bucket and key, and manage expiry to control access.
Build a delete item workflow for an S3 bucket, posting a delete object request with bucket name, key name, optional version ID, MFA, and a 200 response.
Amazon CloudFront speeds delivery of static and dynamic content via edge locations, caching, and distributions, improving latency and offloading requests from S3 or EC2.
Configure a CloudFront web distribution to serve S3 images, use an origin, origin access identity, and caching rules with HTTP/HTTPS and GET only.
Set up a CloudFront distribution to enable streaming, gzip compression, and global delivery of S3 content, while configuring edge locations, CNAMEs, SSL, and Route 53 for custom domains.
Update your web.config to serve images from cloudfront URLs, then manage caching with behaviors and invalidations to refresh S3 content at the edge.
Restrict S3 bucket access using a CloudFront origin access identity, then verify private images are accessible via CloudFront URL but denied on the S3 URL, without signed URLs.
Introduction:
Cloud computing is revolutionizing how websites are built and hosted, and Amazon Web Services (AWS) provides a powerful platform to host, manage, and scale your applications. This comprehensive course teaches you to set up and configure AWS EC2, launch web applications, and utilize AWS S3 for storage. You’ll learn how to develop an ASP.NET website, manage SQL Server installations, and integrate AWS features like S3, IAM, and CloudFront for seamless deployment and scaling. This course is ideal for those looking to master website hosting and management on AWS.
Section-wise Writeup:
Section 1: Introduction to Amazon Cloud Computing and EC2 Setup
This section introduces you to Amazon Cloud Computing and walks you through the basics of setting up AWS EC2 instances. You’ll learn how to launch your first EC2 instance and host applications in the cloud. The section covers the importance of EC2 in scalable cloud hosting and prepares you for the practical hands-on steps required to get started on AWS.
Section 2: Creating a Free AWS Account
In this section, you will learn the steps to create a free AWS account, enabling you to access AWS services with limited resources at no charge. This setup is crucial for beginners to start experimenting with AWS without incurring costs initially.
Section 3: Configuring and Launching EC2 Instances
Once you've set up your AWS account, this section covers configuring EC2 instances for hosting applications. You will learn about Virtual Private Cloud (VPC), Amazon Machine Images (AMIs), and how to configure IAM roles for secure access. We also cover essential EC2 services like EBS volumes and the use of EC2 instances for scalable applications.
Section 4: Installing Software on EC2
Learn how to install Microsoft SQL Server on your EC2 instance and configure it properly. This section demonstrates how to use BITS transfer for installation, post-configure the EC2 instance, and set up SQL Server 2012. You will understand the integration between AWS EC2 and SQL databases to support dynamic website functionality.
Section 5: Website Development with ASP.NET
In this section, you'll explore ASP.NET website development, including creating the basic structure and integrating a database. You'll learn how to build essential user interfaces such as login and signup pages, and how to connect the AWS data layer within your ASP.NET web applications.
Section 6: Working with SQL in AWS EC2
This section focuses on creating and configuring SQL logic classes for handling database queries and file uploads. You will dive into the process of configuring file uploads, storing images, and managing album logic to create a rich, dynamic website.
Section 7: Hosting Website on EC2
Once your website is ready, this section walks you through hosting the site on an EC2 instance. You'll learn how to set up the EC2 instance credentials, create albums, and manage resources efficiently by scaling your EC2 instance capacity as needed.
Section 8: AWS S3 - Versioning and Storage
AWS S3 is a powerful storage service, and this section introduces you to S3 Versioning, a feature that helps you manage file versions over time. You will learn how to set up versioning in S3 and how to use it effectively for data integrity and backup.
Section 9: AWS S3 - Access Key Management
Learn best practices for managing access keys, which are essential for interacting with AWS S3 using APIs. This section covers key management techniques for maintaining security while accessing and interacting with AWS S3 resources.
Section 10: Integrating S3 with AWS C# API
This section focuses on integrating S3 with C# applications, showing you how to create an AWS Wrapper and use it to upload, list, and manage objects in S3. You will learn how to implement methods for streaming data, handling image uploads, and managing object selection within a bucket using C#.
Section 11: Working with AWS CloudFront and Async Methods
AWS CloudFront enables fast content delivery, and this section introduces you to configuring and customizing CloudFront distributions for your website. Learn how to integrate CloudFront with ASP.NET and optimize content delivery to users across the globe. Additionally, you will explore the async methods of AWS APIs for improved performance in web applications.
Conclusion:
By the end of this course, you will have the skills to develop, deploy, and scale websites on AWS using EC2, S3, and CloudFront. You’ll learn how to manage hosting environments, optimize storage, and integrate SQL databases with your applications. Whether you're an aspiring developer or a seasoned IT professional looking to expand your cloud knowledge, this course offers practical, hands-on training to enhance your AWS and web development expertise.