LIST OF ACRONYM IaaS: Infrastructure as a Service PaaS: Platform as a Service SaaS: Software as a Service BaaS: Backend as a Service FaaS: Function as a Service VPC: Virtual Private Clou
Trang 1
BTEC FPT INTERNATIONAL COLLEGE
INFORMATION TECHNOLOGY ASSIGNMENT 2
STUDENT NGUYEN TRINH ANH TUAN : CLASS : C05102
STUDENT ID : BD00096
SUPERVISOR NGUYEN THE XUAN LY :
Da Nang, November,2023
Trang 2ASSIGNMENT 2 FRONT SHEET Qualification BTEC Level 4 HND Diploma in Computing
Unit number and title Unit: CLOUD COMPUTING
Submission date 7/08/2023 Date received (1st
submission) 17 08 / /2023 Re-submission date Date received (2nd submission)
Student name NGUYEN TRINH ANH
Trang 3❒Summative Feedbacks: Resubmission Feedbacks:❒
Grade: Assessor Signature: Date:
Internal Verifier’s Comments:
Signature & Date:
Trang 4TABLE OF CONTENT
Contents
Contents
CHAPTER 1 CLOUD COMPUTING DEPLOYMENT 9
1.1 Configure a Cloud Computing platform with a cloud service provider’s Framework 9
1.1.1 Sign Up and Create an AWS Account:
1.1.2 Access AWS Management Console:
1.2 Implement a cloud platform using open source tools 37
1.2.1 Connect to the instance using SSH
1.2.2 Install WordPress on Ubuntu 18.04 LTS with Nginx, MariaDB and PHP-FPM 38
1.2.3 Configure WordPress
1.2.4 Customize WordPress site
1.2.5 Backup website
1.2.7 Review some admin functions in the dashboard 61
1.2.8 Review some functions of website
1.3 Discuss the issues and constraints one can face during the development process 79
CONCLUSION 81
REFERENCES 82
Trang 5LIST OF TABLES AND FIGURES
Figure 0-1Link to AWS Site 9
Figure 0-2Click button Create a new AWS account 10
Figure 0-3 A registration interface of AWS 11
Figure 0-4AWS login interface 12
Figure 0-5 Create an EC2 instance 14
Figure 0-6 EC2 dashboard 15
Figure 0-7Choose AWS region 17
Figure 0-8 Launch instance 19
Figure 0-9 Choose an AMI 20
Figure 0-10Choose EC2 Instance Type 21
Figure 0-11 select the IAM role 'None' 22
Figure 0-12 Select Shutdown Behavior 23
Figure 0-13 Configure instance details 26
Figure 0-14 Add storage 27
Figure 0-15 Configure security group 28
Figure 0-16Review and launch instance 30
Figure 0-17 Create a key pair 31
Figure 0-18Launch status 32
Figure 0-19 Status of instance 33
Figure 0-20 Create an EIP 34
Figure 0-21 Allocate EIP address 35
Figure 0-22 Associate EIP address 36
Figure 0-23 Assign EIP to the instance 37
Figure 0-24 Connect to instance using SSH 38
Figure 0-25Complete WordPress installation 41
Figure 0-26Configure WordPress 42
Figure 0-27Login to admin dashboard 42
Figure 0-28 Dashboard of Tuan Watch 43
Figure 0-29 Theme selection interface 44
Figure 0-30 Add and active theme 44
Figure 0-31 Customizing the theme 45
Figure 0-32 Some required plugins 46
Figure 0-33Plugins 46
Figure 0-34 Antispam Bee 47
Figure 0-35 WooCommerce 49
Figure 0-36 Wordfence 50
Figure 0-37 Sucuri Security 51
Figure 0-38 Duplicator 53
Figure 0-39Page 54
Figure 0-40 Home page 55
Figure 0-41 Product Page 56
Trang 6Figure 0-42 About Us Page 57
Figure 0-43 My Account Page 58
Figure 0-44 Cart Page 59
Figure 0-45 Checkout Page 60
Figure 0-46 Add New Post 62
Figure 0-47 Media Library 63
Figure 0-48 Add New Page 64
Figure 0-49 Comments 65
Figure 0-50 Add new coupon 66
Figure 0-51 Add New User 67
Figure 0-52 Add Product 69
Figure 0-53Orders Interface 70
Figure 0-54 Order status 70
Figure 0-55Overview report 71
Figure 0-56 Login 72
Figure 0-57 Quick View Function 73
Figure 0-58 Search function 74
Figure 0-59 View Product Information 75
Figure 0-60 Review function 76
Figure 0-61 Add to cart function 76
Figure 0-62 Add to cart function1 77
Figure 0-63 Checkout 78
Figure 0-64 Checkout Detail 79
Trang 7
LIST OF ACRONYM
IaaS: Infrastructure as a Service
PaaS: Platform as a Service
SaaS: Software as a Service
BaaS: Backend as a Service
FaaS: Function as a Service
VPC: Virtual Private Cloud
AWS: Amazon Web Services
GCP: Google Cloud Platform
Azure: Microsoft Azure
SLA: Service Level Agreement
API: Application Programming Interface
DNS: Domain Name System
VPN: Virtual Private Network
CDN: Content Delivery Network
IoT : Internet of Things
DR: Disaster Recovery
BC: Business Continuity
HIPAA: Health Insurance Portability and Accountability Act PCI DSS: Payment Card Industry Data Security Standard GDPR: General Data Protection Regulation
IAM: Identity and Access Management
EBS: Elastic Block Store
EFS: Elastic File System
S3: Simple Storage Service
RDS: Relational Database Service
CLI: Command Line Interface
SDK: Software Development Kit
EB: Elastic Beanstalk
ELB: Elastic Load Balancer
Trang 8INTRODUCTION
Cloud computing has emerged as a transformative technology that has revolutionized the way businesses and individuals access, store, and manage information technology resources In an increasingly interconnected and digital world, cloud computing offers an innovative approach to computing by providing on-demand access to a wide range of resources and services over the internet This paradigm shift has redefined how organizations deploy and manage their IT infrastructure, enabling them to scale rapidly, reduce costs, and achieve greater flexibility
At its core, cloud computing entails the delivery of computing services such as storage, processing —power, databases, networking, and software via the cloud, which is a metaphor for the internet This —shift from traditional on-premises infrastructure to the cloud offers several advantages, including the ability to avoid upfront capital expenses, pay only for the resources used, and access resources from anywhere with an internet connection Cloud computing has democratized access to cutting-edge technologies and empowered businesses of all sizes to compete effectively in today's dynamic market Cloud computing can be categorized into three main service models: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS) IaaS provides virtualized computing resources, such as virtual machines and storage, allowing organizations to build and manage their own IT infrastructure PaaS offers a platform that developers can use to build, deploy, and manage applications without having to worry about the underlying infrastructure SaaS delivers fully-fledged software applications over the internet on a subscription basis, eliminating the need for local installation and maintenance
Moreover, cloud computing is typically offered in various deployment models: public, private, hybrid, and multi-cloud Public cloud services are provided by third-party providers and shared among multiple users Private clouds are dedicated to a single organization, providing enhanced security and control Hybrid clouds combine both public and private cloud resources, offering greater flexibility and data control Multi-cloud involves using services from multiple cloud providers to avoid vendor lock-in and optimize performance
However, alongside its numerous benefits, cloud computing also presents challenges related to security, data privacy, compliance, and vendor lock-in As businesses and individuals increasingly rely on cloud services for their critical operations, understanding these challenges and implementing best practices becomes essential to ensure a seamless and secure cloud computing experience
In this ever-evolving landscape of technology, cloud computing continues to shape the way businesses operate, innovate, and collaborate This introduction sets the stage for exploring the key concepts, services, benefits, challenges, and considerations associated with cloud computing, providing a foundation for leveraging this transformative technology to its fullest potential
Trang 9CHAPTER 1 CLOUD COMPUTING DEPLOYMENT 1.1 Configure a Cloud Computing platform with a cloud service provider’s Framework
1.1.1 Sign Up and Create an AWS Account:
Visit the AWS website and click on the "Create an AWS Account" button Follow the registration process, provide necessary information, and select a payment method You can choose to use the AWS Free Tier, which provides limited resources for exploration and experimentation without incurring charges
Step 1: Open your preferred web browser and navigate to the official Amazon Web Services (AWS)
website by entering the following URL: "https://aws.amazon.com/en/"
This will take you to the AWS homepage where you can access the AWS interface and start configuring your cloud computing platform
Figure 0-1Link to AWS Site
Step 2: On the AWS homepage, locate and click on the "Create an AWS Account" button This will initiate
the process of signing up for an AWS account and gaining access to the AWS services and interface
Trang 10Figure 0-2Click button Create a new AWS account
Step 3: After clicking the "Create an AWS Account" button, a registration interface will appear This
interface will prompt you to enter the necessary information and follow the steps required by AWS to complete the user account registration
During the registration process, you'll be asked to provide personal information, including your name, email address, and contact details Additionally, you'll need to set up a secure password for your AWS account
It's important to note that when customers sign up for Amazon Web Services (AWS), they automatically register an AWS account that grants access to all services within the AWS ecosystem, including services like Amazon EC2 AWS operates on a pay- -you-go model, meaning customers are only charged for the asspecific services they use and the resources they consume
Once you've completed the registration process and created your AWS account, you'll have access to the AWS Management Console and the entire suite of AWS services, allowing you to configure and manage your cloud computing resources according to your needs
Trang 11Figure 0-3 A registration interface of AWS
Step 3: Once you have successfully registered an AWS account, proceed to sign in to your AWS account to
access and utilize the range of services they provide
To do this, follow these steps:
1 Return to the AWS homepage: Go back to the official AWS website by entering
"https://aws.amazon.com/en/" in your web browser
2 Click on the "Sign In" button: Look for the "Sign In" option typically located in the top right corner of the webpage and click on it
3 Enter your login credentials: Provide the email address and password you used during the registration process to log in to your AWS account
4 Click "Sign In": After entering your credentials, click the "Sign In" button to access the AWS Management Console
Trang 12Once you have successfully signed in, you'll gain access to the AWS Management Console, which serves as the central hub for managing your cloud resources, launching instances, configuring services, and more From there, you can begin setting up and managing your cloud computing platform using the various AWS services and tools available.: Once you have successfully registered an AWS account, proceed to sign in to your AWS account to access and utilize the range of services they provide
To do this, follow these steps:
1 Return to the AWS homepage: Go back to the official AWS website by entering
"https://aws.amazon.com/en/" in your web browser
2 Click on the "Sign In" button: Look for the "Sign In" option typically located in the top right corner of the webpage and click on it
3 Enter your login credentials: Provide the email address and password you used during the registration process to log in to your AWS account
4 Click "Sign In": After entering your credentials, click the "Sign In" button to access the AWS Management Console
Once you have successfully signed in, you'll gain access to the AWS Management Console, which serves as the central hub for managing your cloud resources, launching instances, configuring services, and more From there, you can begin setting up and managing your cloud computing platform using the various AWS services and tools available
Figure 0-4AWS login interface
Trang 56Certainly, I'd be happy to help you showcase a few pages of your company's e-commerce website Please provide the content, description, or specific elements you'd like to highlight from these pages, and I can help you create a descriptive presentation of them Feel free to provide details about the pages, such as the homepage, product listings, product details, shopping cart, checkout, etc The more information you provide, the better I can assist you in showcasing your website's features
• Product
Trang 57• About Us Page
• My Account Page
Trang 59Figure 0- Cart Page 44
• Checkout Page
Trang 64• Comments
In WordPress, the "Pages" section is where you manage the different pages of your website This area allows administrators to create, edit, and organize the various pages that make up the content of the site Here's how you can work with pages in WordPress:
1 Access Pages:
- Log in to your WordPress admin dashboard
- On the left-hand toolbar, click on "Pages."
2 Add New Page:
- Within the Pages section, you'll see the option to "Add New." Click on it
3 Create Page:
- You'll be taken to the page editor, where you can create your new page
- Enter a title for your page at the top of the editor
6 Publish or Save Draft:
- Once you've added content and configured your page settings, you can either publish the page immediately or save it as a draft to work on later
Trang 66- Coupon validity: Specify the validity period of the coupon (start date and end date)
- Usage limits: Set limits for how many times the coupon can be used by customers
5 Additional Options:
- You can further customize the coupon by choosing whether it applies to specific products, categories,
or customer groups
- You can also set up conditions for free shipping if the coupon is applied
6 Publish the Coupon:
- Once you've configured the coupon details, click the "Publish" button to make the coupon active
7 Communicate the Discount to Customers:
- Make sure to communicate the discount code and its details to your customers through your website, emails, or marketing materials
8 Customers Apply the Coupon:
- When customers add products to their cart and proceed to checkout, they will have the option to enter the coupon code
- After applying the coupon, the discount will be automatically calculated and reflected in the order total
By using discount codes effectively, you can incentivize customers to make purchases on your e-commerce website WooCommerce's coupon management system allows you to create various types of discounts and promotions to attract and retain customers As with any changes to your website, always ensure that you test the coupon functionality to make sure it works as intended
• Add New User
1 Log in to the Admin Dashboard:
- Access your WordPress admin dashboard using your administrator credentials
2 Navigate to User Management:
- On the left side of the dashboard, click on "Users." This will take you to the Users management section
3 Add a New User:
- Click the "Add New" button to start creating a new user account
4 Enter User Details: