See webinar recording of this presentation at https://resource.alibabacloud.com/webinar/detail.htm?webinarId=29
Setting up an e-commerce website with the right level of scalability, global reach, and performance to evolve with your own business growth can be a difficult challenge for most SMEs. In this webinar, you will learn how to quickly deploy a global, scalable, and highly available e-commerce website on the cloud with the popular e-commerce tool Magento.
This presentation will also give you a hands-on understanding of Alibaba Cloud SAS (Simple Application Server) service to conveniently deploy an e-commerce website and how to configure Magento to fit your business needs.
About Simple Application Server
Simple Application Server optimizes the user experience of setting up a simple application by making it easy for entry-level users to use cloud computing products. It provides one-click application deployment and supports domain name resolution, website publishing, security, and application management.
Launch and Scale Your E-commerce Website with Magento
1. Launch & Scale Your E-commerce
Website With Magento
Presenter: Wen Chen-yu
Apsara Clouder (Cloud Computing Specialist
Certification) Team
2. Webinar Overview
What Do You Need?
What is Simple Application Server?
Publish Your First E-commerce Website on SAS
Configure Your Magento Website
2 / 32
4. Comparison – Static vs Dynamic
Static Website Dynamic Website
Content is the same every time the page is loaded Content is generated dynamically and changes regularly
Uses HTML code Uses server side languages such as PHP, JSP, and
ASP.NET
Sends the exact same response for every request May generate different HTML for each request
Content only changes when the website manager
publishes and updates the file
The page contains “server side” code that allows the server to
generate unique content when the page is loaded
A static website’s main advantage is flexibility A dynamic website’s main advantage is the Content
Management System (CMS)
4 / 32
5. What Do You Need?
To run an e-commerce site website, you’ll first need is a web server running environment like LAMP (Linux operating
system, Apache web server, MySQL database and PHP), and then install the Magento package on it.
After setting the configuration file, you’ll have a Magento e-commerce site ready to go. For this demonstration, we’ll use
Simple Application Server (SAS) to host Apache Web Server.
5 / 32
6. Web Server
SAS
User Requests
To run an e-commerce site website, you’ll first need is a web server running environment like LAMP (Linux operating
system, Apache web server, MySQL database and PHP), and then install the Magento package on it.
After setting the configuration file, you’ll have a Magento e-commerce site ready to go. For this demonstration, we’ll use
Simple Application Server (SAS) to host Apache Web Server.
What Do You Need?
6 / 32
7. Web Server
SAS
User Requests
To run an e-commerce site website, you’ll first need is a web server running environment like LAMP (Linux operating
system, Apache web server, MySQL database and PHP), and then install the Magento package on it.
After setting the configuration file, you’ll have a Magento e-commerce site ready to go. For this demonstration, we’ll use
Simple Application Server (SAS) to host Apache Web Server.
What Do You Need?
7 / 32
8. Web Server
SAS
User Requests
What Do You Need?
8 / 32
To run an e-commerce site website, you’ll first need is a web server running environment like LAMP (Linux operating
system, Apache web server, MySQL database and PHP), and then install the Magento package on it.
After setting the configuration file, you’ll have a Magento e-commerce site ready to go. For this demonstration, we’ll use
Simple Application Server (SAS) to host Apache Web Server.
9. Magento is an open-source e-commerce
platform written in PHP.
The open-source edition provides the
performance and features required to meet
the core e-commerce needs of online
businesses. It is suitable for growing small
businesses or for those who want to
experiment and learn how to build an online
store from the ground up.
What Do You Need?
9 / 32
11. Alibaba Cloud Services Portfolio
Cloud Monitor
Anti-DDoS
Cloud Shield
WAF
Web Application Firewall
HSM
Hardware Secure Module
Monitoring & Security
Block Storage
OSS
Object Storage Service
Archive Storage
NAS
Network Attached Storage
Message Service
Storage
ECS
Elastic Compute Service
Simple Application
Server
SLB
Server Load Balancer
Container Service
E-HPC
High Performance
Compute
BatchCompute
Compute
Global IDC Regions Available Zones
MaxCompute
Big Data
RAM
Resource Access
Management
CLI API
DevOps
Media Transcoding OpenSearch
Mobile Analytics
Log Service
EDAS
Enterprise Distributed Application Service
Distributed RDS
ROS
Resource Orchestration
Service
ONS
Open Notification Service
Applications
Infrastructure
Technical
Support
Professional
Services
Training &
Certification
Cloud
Architects
Pricing Report
Support Solutions
O2O StorageHealthcareMedia Security GovernmentGaming IoT MobileWeb FinanceDigital Marketing
VPC
Virtual Private Cloud
ExpressConnect
Elastic IP
CDN
HA-IP
High Availability IP
RDS
Relational Database Service
Oceanbase
Memcache
Table Store
Redis MongoDB
DMS
Database Management
Analytic DB
DTS
Data Transmission Service
Database
PetaData
KMS
Key Management Service
Performance TestingEMR
Network
11 / 32
12. Cloud Monitor
Anti-DDoS
Cloud Shield
WAF
Web Application Firewall
HSM
Hardware Secure Module
Monitoring & Security
Block Storage
OSS
Object Storage Service
Archive Storage
NAS
Network Attached Storage
Message Service
Storage
ECS
Elastic Compute Service
Simple Application
Server
SLB
Server Load Balancer
Container Service
E-HPC
High Performance
Compute
BatchCompute
Compute
Global IDC Regions Available Zones
MaxCompute
Big Data
RAM
Resource Access
Management
CLI API
DevOps
Media Transcoding OpenSearch
Mobile Analytics
Log Service
EDAS
Enterprise Distributed Application Service
Distributed RDS
ROS
Resource Orchestration
Service
ONS
Open Notification Service
Applications
Infrastructure
Technical
Support
Professional
Services
Training &
Certification
Cloud
Architects
Pricing Report
Support Solutions
O2O StorageHealthcareMedia Security GovernmentGaming IoT MobileWeb FinanceDigital Marketing
VPC
Virtual Private Cloud
ExpressConnect
Elastic IP
CDN
HA-IP
High Availability IP
RDS
Relational Database Service
Oceanbase
Memcache
Table Store
Redis MongoDB
DMS
Database Management
Analytic DB
DTS
Data Transmission Service
Database
PetaData
KMS
Key Management Service
Performance TestingEMR
Network
12 / 32
Alibaba Cloud Services Portfolio
13. Simple Application Server is a new generation computing service for stand-alone application scenarios. It provides
one-click application deployment and supports all-in-one services such as domain name resolution, website
publishing, security, O&M, and application management. This optimizes the user experience of setting up a simple
application and makes it easier for entry-level users to use cloud computing products.
What is Simple Application Server?
13 / 32
14. Simple Application Server is a new generation computing service for stand-alone application scenarios. It provides
one-click application deployment and supports all-in-one services such as domain name resolution, website
publishing, security, O&M, and application management. This optimizes the user experience of setting up a simple
application and makes it easier for entry-level users to use cloud computing products.
An application can be initiated in just 30 seconds with one-click.
The image of Simple Application Server comprises application image and system image.
What is Simple Application Server?
14 / 32
15. Advantages of Using SAS
Pros:
Ease of use
• One-click start of servers and applications
• All-in-one application management
• Integration with numerous Alibaba Cloud products
Cost-effective
• Decent performance: the entire product line uses SSD storage and ECS shared instances to meet high-
performance requirements.
• Low price: purchase of the whole package of products you need saves your cost than buying products one by one.
15 / 32
16. Pros:
Ease of use
• One-click start of servers and applications
• All-in-one application management
• Integration with numerous Alibaba Cloud products
Cost-effective
• Decent performance: the entire product line uses SSD storage and ECS shared instances to meet high-
performance requirements.
• Low price: purchase of the whole package of products you need saves your cost than buying products one by one.
Cons:
Limited elasticity
• Can only choose from fixed number of mid-to-low end plans and cannot purchase by Pay-As-You-Go
Advantages of Using SAS
16 / 32
17. Without Cloud
SAS – IaaS
Application
IaaS PaaS SaaS
Data
Runtime
Middleware
Operating System
Virtualization
Server
Storage
Networking
Application
Data
Runtime
Middleware
Operating System
Virtualization
Server
Storage
Networking
Application
Data
Runtime
Middleware
Operating System
Virtualization
Server
Storage
Networking
Application
Data
Runtime
Middleware
Operating System
Virtualization
Server
Storage
Networking
17 / 32
18. O&M without Cloud
SAS – IaaS vs Without Cloud
Application
Data
Runtime
Middleware
Operating System
Virtualization
Server
Storage
Networking
Application
Data
Runtime
Middleware
Operating System
Virtualization
Server
Storage
Networking
SAS
18 / 32
20. Simple Application Server Instance
CPU Memory
Storage Network
Simple Application Server is a lightweight cloud server
offering a one-stop service to enhance your server
experience and efficiency.
The package comprises:
• Common application images and system images
curated by Alibaba Cloud
• Cloud server computing resources, SSD-based
storage & network resources
• Integrates with Alibaba Cloud's other products (i.e.
DNS & VPC)
20 / 32
21. Choosing Service Region
• Alibaba Cloud has 18 regions around the world. Currently, SAS supports 3 regions
• Choose a region to optimize latency, minimize costs, or address regulatory requirements
Usually, the Region refers to the city where Alibaba Cloud provides cloud computing service and where
you will launch the instances you create. Generally, a Region will cover an area, e.g. Beijing region
covers the North China area.
21 / 32
23. SAS Instance Plan
There are different types of Instance Plans comprise of different CPU, Memory, Network Traffic Quota and
Storage (SSD).
You can choose the plan that fits your need with the best price.
23 / 32
28. SAS1
ap-southeast-1a
Singapore Zone A Singapore Zone B
SAS2
ap-southeast-1bPrivate
Network
Singapore Region, ap-southeast-1
28 / 32
Networking in SAS
29. SAS Subscription Duration
Finally, choose how long you want to keep this SAS instance, and check “Auto Renew” if you want to auto renew the plan.
(SAS only supports Monthly Subscription).
29 / 32
30. Simple Application Server Limits
• Each user can keep a maximum of five Simple Application Servers, and each server can have a
maximum of three snapshots and 50 Firewall rules.
• Pre-installed files under /home/staragent/ and /usr/local such as /usr/local/aegis,
/usr/local/cloudmonitor are programs and library files that the environment depends on. Proceed
with caution if you wish to modify them.
• You cannot use port 25 to send emails to external domains. Please use port 465 instead.
30 / 32
How to deploy?
Exam.
Change ECS to
Hi guys, welcome to attend today’s webinar,
In today’s webinar, we’ll teach you how to construct a Deploy Magento E-Commerce Site on. alibaba cloud
BTW, this course is also part of our Alibaba Cloud Apsara clouder certification course, if your interested in our Apsara clouder certification course
Plz visit https://www.alibabacloud.com/support/training to check it out
This is the outline of this course, we’ll first talk about …
So now lets move on to the 2nd chapter, about what do you need to deploy an e-commerce website on Alibaba cloud
Lets start with recap this static vs dynamic website table
For e-commerce website, you will need a Content Management System (CMS) like Magento to manage the dynamic content
And it …
So of course your e-commerce website will fall into the category of “”dynamic website
When building a dynamic website, usually you wont start from scratch
You’ll use a Content Management System (CMS) like WordPress to create it
Since u’ll be using a CMS, u’ll not only need a cloud server to host the site, but also need an environment that is suitable for running CMS
So now, lets talk about what do you exactly need to build an e-commerce website
1st
2nd
3rd
Of course, they also provide all-in-one solution called Magento Commerce
For those that prefer to pay some money and get the solution right away
In this clouder, we’ll use the open-source edition in the hands on session
In the previous section, we talk about the things u need to host an e-commerce website
The first thing is a web server, which we choose SAS in Alibaba Cloud
So what is this SAS – simple application server?
This is …
(p down)
And in this picture, SAS lies in the computing category
It is a service providing elastic computing environment like ECS, but more light-weight and cost efficient
Simple Application Server is a lightweight cloud server offering a one-stop service to enhance your server experience and efficiency.
Its is suitable for light-weight, stand alone application scenarios
It provides one-click application deployment and supports all-in-one services
So you can do domain name resolution, website publishing, security, O&M, and application management all in the same console
When purchasing an SAS instance, you can choose the image that will be applied on this SAS
If you choose sys image, which provides options from Windows server to Linux
like for example if you choose Cent os sys image, then Cent OS will be the OS pre-installed in your SAS instance
On the other hand, you can choose application image
The application image comprises the following components: applications and related initialization data, running environment required for applications, and the underlying OS. After the application image is installed, applications can be directly started with Simple Application Server
All-in-one application management
https://www.alibabacloud.com/help/doc-detail/58650.htm?spm=a3c0i.o59089en.b99.9.5d7a7b83luwREF
You can manage instance status, Firewall rules, backup (Create snapshots) on the same console
Restore the system using the snapshot the was created when you launch the SAS instance, Use the “reset the current system” feature in SAS management console
Also in the management console, you can upgrade the spec of your current instance or change the OS by using “change to other images” feature
So SAS is more suitable for Personal website, Light-weight App or Blog
ECS is an IaaS
(p down)
In the previous section, we introduced what is ECS
Now, let’s talk about how to choose and purchase your ECS
network resources (like internet traffic quota)
So you can do DNS and VPC management in the same console
So now lets move on to the settings that you will face when purchasing an SAS instance,
the 1st thing is the service region
Now let’s talk about some other things you need to choose when buying an ECS instance, first is region
…
Region is where Alibaba Cloud ECS will launch the ECS instances that you created.
We do suggest you choose a region carefully, since diff regions have different latency, costs
And then you have to choose the image that will be applied on this SAS instance
You can choose from application image, which we provide WordPress image & LAMP environment image
Or you can choose OS image, which we provide from common Linux distributions to Windows server
Choose the Image, what is image?
There are 2 ways
https://www.alibabacloud.com/marketplace/product/Magento_on_LAMP_Ubuntu_14_04_64bits-cmjj011730.htm
Go to console and buy it
Then it’s the instance plan for your SAS
Different Plans comprise of different CPU, Memory, Network Traffic Quota and Storage (SSD). You can choose the plan that fits your need with the best price.
There are 2 ways
https://www.alibabacloud.com/marketplace/product/Magento_on_LAMP_Ubuntu_14_04_64bits-cmjj011730.htm
Go to console and buy it
In the previous page, we talk about when you purchase an SAS, the plan will include network traffic quota
So how does this quota work? Lets talk about it here
In this pic …
When u take a look at the bill of ECS, there will be not only ECS renting fee, not also network traffic fee
So now let’s talk about the networking in ECS
(page down)
When using SAS, you’ll have inbound traffic and outbound traffic from the Internet
(p down)
And Only the outbound traffic will consume your network traffic quota
In other words, your network traffic quota will only be consumed when users dl data from your SAS instance
Moreover, When you exceed the Network Traffic Quota given in your SAS monthly plan, you will be charged for additional Internet traffic fee
Based on the outbound traffic
Another case is, if you …
These 2 SAS instances are communicating via private network
All traffic in private network is free
The final option you have to choose when purchasing SAS is the Subscription Duration (you can choose from month to year)
You can also check “Auto Renew” if you want to auto renew the plan
Currently, SAS only supports monthly subscription so You cannot purchase using pay as you go mode
Finally, lets talk about some limitations when using SAS
1st Each user can keep a maximum of five Simple Application Servers, and each server can have a maximum of three snapshot backups and 50 Firewall rules.
There are some folders (shown in the list) containing important Pre-installed files. Plz pay attention if you want to modify them.
You cannot use port 25 to send emails to external domains. Please use port 465 instead.