云计算 shell脚本实例
Hey guys In this article I am going to explain What is cloud Computing, Type of cloud and Going to show you some unique case study on AWS So that you can learn the Importance of awareness and Right Education.
大家好,在本文中,我将解释什么是云计算,云类型以及如何向您展示一些有关AWS的独特案例研究,以便您可以了解意识和正确的教育的重要性。
Before we deep dive into the nitty gritty detail about Cloud. Let’s first understand who are using cloud so that you can get rough idea about the cloud computing
在深入探讨有关Cloud的细节之前,请先进行详细的介绍。 首先让我们了解谁在使用云,以便您对云计算有一个大概的了解
谁在使用云计算。(Who are using Cloud Computing.)
Cloud are using by everyone. Many Start-up, Company, Organizations of every type, size using cloud to solve various use case like data backup, disaster recovery, email, virtual desktops, software development and testing, big data analytics or running their business over cloud by hosting a website.
每个人都在使用云。 许多初创公司,公司,各种类型,规模的组织都使用云来解决各种用例,例如数据备份,灾难恢复,电子邮件,虚拟桌面,软件开发和测试,大数据分析或通过托管网站在云上运行其业务。
Even we are using cloud in everyday life whether we are aware of it or not. If you have smartphone then you are definitely using cloud. But how ? Let me answer that question.
甚至我们在日常生活中都在使用云,无论我们是否意识到。 如果您拥有智能手机,那么您肯定在使用云。 但是如何? 让我回答这个问题。
When we upload some file over Google drive or send some video via a Telegram or Backup photo or WhatsApp chat all of it uploads over cloud.
当我们通过Google驱动器上载一些文件或通过电报或备用照片或WhatsApp聊天发送一些视频时,所有这些文件都会通过云上传。
But Cloud not only use to store data or get storage. It use by many company, professionals or students to get different type of service like computation power, databases, infrastructure, platform, networking, Etc.
但是云不仅用于存储数据或获取存储。 许多公司,专业人士或学生都使用它来获得不同类型的服务,例如计算能力,数据库,基础架构,平台,网络等。
Now I think with above description you might get little idea about “What is cloud computing” But let’s take look at definition for more clarity.
现在,我想通过上面的描述,您可能对“什么是云计算”一无所知,但让我们来看一下定义以更加清楚。
什么是云计算。 (What is Cloud Computing.)
Cloud computing is the delivery of IT resource over the Internet.
云计算是通过Internet交付IT资源。
I know the definition looks pretty bizarre and you might be saying “What the hell is IT resource”. So let’s simplify the definition.
我知道定义看起来很奇怪,您可能会说“这到底是IT资源”。 因此,让我们简化定义。
Cloud Computing is a way of providing Hardware (RAM, CPU, Hard Disk, Router, Switches, etc.) and Software (Databases, File System) which are easily accessible via a internet.
云计算是一种提供可以通过互联网轻松访问的硬件(RAM,CPU,硬盘,路由器,交换机等)和软件(数据库,文件系统)的方式。
Let’s understand It by an example. Let say you have PC or laptop of 2GB RAM or 4GB RAM or 8GB RAM and want to create OpenShift cluster or Multi node Kubernetes cluster or do some networking related task or do Some analysis on data or want to run Machine Learning Algorithm. Now in these cases sometime note even 16GB RAM will be enough So we can get RAM of 32GB or 64GB very easily from Cloud.
让我们通过一个例子来理解它。 假设您有2GB RAM或4GB RAM或8GB RAM的PC或笔记本电脑,并且想要创建OpenShift集群或多节点Kubernetes集群,或者要执行一些与网络相关的任务,或者要对数据进行一些分析,或者想要运行机器学习算法。 现在在这些情况下,有时甚至需要16GB的RAM就足够了,因此我们可以很容易地从Cloud获得32GB或64GB的RAM。
MYTH :- Lot of people say Internet is the limitation of cloud But actually it is prerequisite not limitation.
误区:-很多人说互联网是云的局限性,但实际上这是先决条件而不是局限性。
云计算的优势和功能 (Benefit and Feature of Cloud Computing)
Pay-As-you-go:- It is one of major feature and benefit of Cloud Computing and that feature is one which I mostly like about the cloud computing. We don’t have to pay upfront for anything. We only pay for what we use and how long we use.
即付即用:-这是云计算的主要功能和优势之一,也是我最喜欢的有关云计算的功能。 我们不必为任何事情支付前期费用。 我们只为使用的时间和使用时间付费。
- In this way we can avoid Huge Capital investment. 这样我们就可以避免巨额投资。
Auto scaling:- Another benefit and feature of Cloud Computing is Auto scaling. Company, Start-up and Organization who running business over Cloud majorly get benefit from Auto scaling. In Auto scaling number of server grow or shrink as incoming per traffic.
自动缩放:-云计算的另一个好处和功能是自动缩放。 通过云运行业务的公司,初创企业和组织主要从自动扩展中受益。 在“自动缩放”中,服务器数量随着每个流量的传入而增加或减少。
- In this way Organization Don’t have to guess the capacity. 这样,组织不必猜测容量。
- They can scale globally because of the huge global infrastructure. 由于庞大的全球基础架构,它们可以在全球范围内扩展。
云计算类型 (Type of Cloud computing)
Type of cloud 云的类型There is majorly three type of cloud computing:-
主要有三种类型的云计算:
- Public Cloud:- The IT resources that are available for everyone means publicly which are accessible easily via a internet is public cloud. 公共云:-每个人都可以使用的IT资源是公共云,可以通过Internet轻松访问它。
- Private Cloud:- The IT resources that are personal to organization or available locally which are accessible inside the premises via local network is Private cloud. 私有云:-组织专有的或本地可用的,可通过本地网络在企业内部访问的IT资源是私有云。
- Hybrid Cloud:- In the simplest term the combination of both Public cloud and private cloud is Hybrid Cloud. 混合云:-最简单地说,公共云和私有云的组合就是混合云。
AWS (Amazon Web Services) one of major public cloud provider occupies 61% of cloud Market alone. In the year 2006 AWS pioneered cloud computing. AWS is broadly adopted cloud platform, offering over 175 fully featured services from data centers globally. Millions of customers including the fastest-growing startups, largest enterprises, and leading government agencies are using AWS to lower costs.
大型公共云提供商的WS(亚马逊网络服务),一个单独占据云计算市场的61%。 在2006年, AWS开创了云计算的先河。 AWS是被广泛采用的云平台,从全球数据中心提供175多种全功能服务。 数以百万计的客户,包括发展最快的初创公司,大型企业和领先的政府机构,都在使用AWS来降低成本。
AWS (Amazon Web Services) is a subsidiary of Amazon. It is a comprehensive, evolving cloud computing platform that have lot services like infrastructure as a service (IaaS), platform as a service (PaaS) and packaged software as a service (SaaS) majorly including storage as a service, networking as a service, and so on.
AWS (亚马逊网络服务)是亚马逊的子公司。 它是一个全面,不断发展的云计算平台,具有许多服务,例如基础架构即服务(IaaS),平台即服务(PaaS)和打包的软件即服务(SaaS),主要包括存储即服务,网络即服务,等等。
关于AWS的事实 (FACTS About AWS)
→ Amazon was one of the first corporations to offer a pay-as-you-go cloud computing model that adapts to give users computing and digital storage resources as they need it.
→亚马逊是最早提供按需付费的云计算模型的公司之一,该模型可根据用户需要为用户提供计算和数字存储资源。
→ AWS made up of 77 availability zones that cut across 24 geographic regions all over the world. Serving 245 Countries and Territories.
→AWS由77个可用区组成,这些可用区遍及全球24个地理区域。 服务245个国家和地区。
→ The revenue that AWS generated in 2019 was 35.03 billion U.S. dollars
→AWS在2019年产生的收入为350.3亿美元
谁使用AWS(Who use AWS)
Here I am including some name of big and small organization, startup and company who are using AWS but above fact suffice to say that AWS is leader in Cloud Market. I personally used OpenShift Cluster which run by RedHat over AWS.
在这里,我列出了正在使用AWS的大小型组织,初创公司和公司的名称,但事实上,只要说AWS是云市场的领导者就足够了。 我个人使用了RedHat通过AWS运行的OpenShift集群。
AWS user includes Adobe Systems, Airbnb, Autodesk, BMW, Docker, Hearst Corporation, Hitachi, HTC, Intuit, Johnson & Johnson, Lyft, NASA, Netflix, Philips, Pitney Bowes, Qantas, Qlik, Samsung, SAP, Schneider Electric, Slack, Spotify, Tata Motors, The Kellogg Company, Unilever, Xiaomi, Yelp, Zynga, Disney, Expedia, Jio saavn and many more
AWS用户包括Adobe系统,Airbnb,Autodesk,宝马,Docker,赫斯特公司,日立,HTC,Intuit,强生,Lyft,NASA,Netflix,飞利浦,Pitney Bowes,澳洲航空,Qlik,三星,SAP,施耐德电气,Slack ,Spotify,塔塔汽车,凯洛格公司,联合利华,小米,Yelp,Zynga,迪士尼,Expedia,Jio saavn等
实例探究(CASE STUDIES)
There is are lot Big and small organization using AWS and above name are suffice to show the popularity of AWS. There are lot case study like NASA Case Study, Netflix on AWS Case Study, Slack Case Study, Docker Case Study you can easily find over internet but I like to discuss some case study which show the importance of awareness of tech new and old and Right Education.
有很多使用AWS的大小型组织,上面的名字足以证明AWS的普及。 有很多案例研究,例如NASA案例研究,AWS上的Netflix案例研究,Slack案例研究,Docker案例研究,您可以在互联网上轻松找到,但我想讨论一些案例研究,这些研究表明了认识新技术和新技术的重要性。教育。
投寄箱 (Dropbox)
Dropbox 投寄箱Dropbox is file hosting service was founded in 2007 by MIT students Drew Houston and Arash Ferdowsi as a startup company, and headquartered in San Francisco, California.
Dropbox是文件托管服务,由麻省理工学院的学生Drew Houston和Arash Ferdowsi于2007年成立,是一家初创公司,总部位于加利福尼亚州旧金山。
If you don’t know about the Dropbox which is most likely not going to happen but still let brief you. In simplest term Dropbox is like folder on your computer desktop that lets you easily store files on the Internet, send them to others, and synchronize them across your laptop, phone, and tablet.
如果您不了解Dropbox,那很有可能不会发生,但请您简要介绍一下。 用最简单的术语来说,Dropbox就像计算机桌面上的文件夹,它使您可以轻松地在Internet上存储文件,将文件发送给其他人,以及在笔记本电脑,手机和平板电脑之间进行同步。
Dropbox started as startup founded in 2007 now have More than 500 million users used AWS (Amazon web services) for the initial eight year to store files. Dropbox who store the billions and billions of file on the behalf millions of user, used run their business over AWS. However over the last two-and-a-half years ago, Dropbox built its own vast computer network and shifted its service onto a new breed of machines designed by its own engineers
Dropbox最初成立于2007年,是一家初创公司,在最初的八年中,已有超过5亿用户使用AWS(亚马逊网络服务)来存储文件。 Dropbox代表数百万用户存储着数十亿个文件,过去曾在AWS上经营业务。 然而,在过去的两年半的时间里,Dropbox建立了自己的庞大计算机网络,并将其服务转移到由自己的工程师设计的新型机器上
显示Dropbox案例研究的原因(REASON FOR SHOWING DROPBOX CASE STUDY)
AS you know if have read this article from beginning AWS started in the year 2006 and Dropbox in 2007 where the knowledge and usage of cloud computing is very limited but still dropbox founder used AWS and for eight year. Dropbox used one of the most reliable AWS service called S3(Single Storage service) and Dropbox is consider as company who revolutionize cloud storage. In 2007 Dropbox start as start up up and Now they have their own resources.
如您所知,是否从一开始就从2006年开始的AWS和2007年的Dropbox都阅读了这篇文章,在那儿,云计算的知识和用法非常有限,但是dropbox创始人仍然使用AWS已有八年了。 Dropbox使用了称为S3(单一存储服务)的最可靠的AWS服务,Dropbox被认为是彻底改变云存储的公司。 在2007年,Dropbox以启动方式开始,现在他们有了自己的资源。
At the beginning Dropbox might have face the issue of resource and infrastructure and buying the resource and infrastructure could be great risk and huge investment. But with the awareness of AWS services founder of dropbox used AWS service s3 provided same facility to user as AWS s3 provided to them as cloud user. Like some certain amount of free s3 storage provided by AWS to it’s user similarly Dropbox given certain of free storage to there user and Who don’t love free thing.
在一开始,Dropbox可能会面临资源和基础架构的问题,而购买资源和基础架构可能会带来巨大的风险和巨大的投资。 但是,意识到了Dropbox创始人的AWS服务,使用过的AWS服务s3为用户提供了与以云用户身份提供给他们的AWS s3相同的功能。 就像AWS向其用户提供的一定数量的免费s3存储一样,Dropbox也为该用户提供了一定的免费存储,而谁不喜欢免费的东西。
People start using dropbox and realize that Dropbox is very useful because they can access file from anywhere. Dropbox may later bring premium account or may be they already have premium subscription at the beginning. But People realize usefulness of dropbox and they start buying premium account too.
人们开始使用Dropbox并意识到Dropbox非常有用,因为他们可以从任何地方访问文件。 Dropbox稍后可能会带来高级帐户,或者可能一开始就已经具有高级订阅。 但是人们意识到保管箱的用途,他们也开始购买高级帐户。
By this case Study I want to show that we should be aware of the new tech coming into market and have right education of it. With right education and awareness we can do lot of the thing no one can think of. We can do a lot of exceptional things.Guy’s there are lot of start-up able build and grow because of of Cloud computing around 2007 to 2008 where the knowledge of cloud is very limited. Let’s see some more case study who use AWS around 2007 to 2008
通过本案例研究,我想表明,我们应该意识到进入市场的新技术并对其进行正确的教育。 有了正确的教育和认识,我们可以做很多没人能想到的事情。 我们可以做很多特别的事情。由于2007年到2008年之间的云计算,人们对云的知识非常有限,因此盖伊有很多可以建立和成长的创业公司。 让我们看看一些在2007年至2008年期间使用AWS的案例研究
爱彼迎(Airbnb)
airbnb 爱彼迎About Airbnb
关于爱彼迎
Airbnb is a community marketplace that allows property owners and travelers to connect with each other for the purpose of renting unique vacation spaces around the world. The Airbnb community users’ activities are conducted on the company’s Website and through its iPhone and Android applications. The San Francisco-based Airbnb began operation in 2008 and currently has hundreds of employees across the globe supporting property rentals in nearly 25,000 cities in 192 countries.
Airbnb是一个社区市场,物业所有者和旅行者可以通过此市场相互联系,以在世界各地租用独特的度假空间。 Airbnb社区用户的活动是在该公司的网站上以及通过其iPhone和Android应用程序进行的。 总部位于旧金山的Airbnb于2008年开始运营,目前在全球拥有数百名员工,为192个国家/地区的近25,000个城市提供房地产租赁服务。
挑战性 (Challenges)
A year after Airbnb launched, the company decided to migrate nearly all of its cloud computing functions to Amazon Web Services (AWS) because of service administration challenges experienced with its original provider.
Airbnb推出一年后,由于原始提供商遇到的服务管理挑战,该公司决定将其几乎所有云计算功能迁移到Amazon Web Services(AWS)。
According to Nathan Blecharczyk, Co-founder & CTO of Airbnb “Initially, the appeal of AWS was the ease of managing and customizing the stack. It was great to be able to ramp up more servers without having to contact anyone and without having minimum usage commitments. As our company continued to grow, so did our reliance on the AWS cloud and now, we’ve adopted almost all of the features AWS provides.”
Airbnb的联合创始人兼CTO Nathan Blecharczyk表示:“最初,AWS的吸引力在于易于管理和自定义堆栈。 能够增加更多服务器而不必与任何人联系并且没有最低使用承诺,这真是太好了。 随着我们公司的不断发展,我们对AWS云的依赖也越来越大,现在,我们已经采用了AWS提供的几乎所有功能。”
为什么选择Amazon Web Services (Why Amazon Web Services)
Airbnb has grown significantly over the last 3 years. To support demand, the company uses 200 Amazon Elastic Compute Cloud (Amazon EC2) instances for its application, memcache, and search servers. Within Amazon EC2, Airbnb is using Elastic Load Balancing, which automatically distributes incoming traffic between multiple Amazon EC2 instances. To easily process and analyze 50 Gigabytes of data daily, Airbnb uses Amazon Elastic MapReduce (Amazon EMR). Airbnb is also using Amazon Simple Storage Service (Amazon S3) to house backups and static files, including 10 terabytes of user pictures. To monitor all of its server resources, Airbnb uses Amazon CloudWatch, which allows the company to easily supervise all of its Amazon EC2 assets through the AWS Management Console, Command Line Tools, or a Web services API.In addition, Airbnb moved its main MySQL database to Amazon Relational Database Service (Amazon RDS).
在过去的三年中,Airbnb取得了显着增长。 为了满足需求,该公司为其应用程序,内存缓存和搜索服务器使用200个Amazon Elastic Compute Cloud(Amazon EC2)实例。 在Amazon EC2中,Airbnb使用的是Elastic Load Balancing,它会在多个Amazon EC2实例之间自动分配传入流量。 为了轻松地每天处理和分析50 GB的数据,Airbnb使用了Amazon Elastic MapReduce(Amazon EMR)。 Airbnb还使用Amazon Simple Storage Service(Amazon S3)来存储备份和静态文件,包括10 TB的用户图片。 为了监控所有服务器资源,Airbnb使用Amazon CloudWatch,这使该公司可以通过AWS管理控制台,命令行工具或Web服务API轻松地监督其所有Amazon EC2资产。此外,Airbnb迁移了其主要MySQL数据库到Amazon Relational Database Service(Amazon RDS)。
好处 (The Benefits)
Airbnb believes that AWS saved it the expense of at least one operations position. Additionally, the company states that the flexibility and responsiveness of AWS is helping it to prepare for more growth.
Airbnb认为,AWS节省了至少一个运营职位的费用。 此外,该公司指出,AWS的灵活性和响应能力正在帮助其为进一步增长做准备。
动画 (Animoto)
Animoto 动画关于Animoto(About Animoto)
Animoto, a New York-based online video service, makes it easy to make and share videos in just a few minutes. The company launched in August of 2007. It is a cloud-based video creation service that produces video from photos, video clips, and music into video slideshows, and customized web-based presentations.
Animoto是位于纽约的在线视频服务,可让您在短短几分钟内轻松制作和共享视频。 该公司于2007年8月推出。这是一项基于云的视频创建服务,可将照片,视频剪辑和音乐中的视频转换为视频幻灯片和自定义的基于Web的演示文稿。
How AWS Helped
AWS如何提供帮助
In the Beginning When Animoto Lunch they used their own servers and AWS. But due to traffic reaching to Animoto website increases they decided to shift to all the architecture to AWS which benefited Animato because Animoto integrated with Facebook in 2008 attracting 750,000 new users in 3 days. According to Brad Jefferson CEO and Co-founder of Animoto “Due to the integration of Animoto With facebook the count of EC2 instance reach from 100 to 5,000.”
在开始Animoto Lunch时,他们使用了自己的服务器和AWS。 但是由于到达Animoto网站的流量增加,他们决定将所有架构转移到AWS,这使Animato受益,因为Animoto在2008年与Facebook集成,在3天内吸引了75万新用户。 Animoto首席执行官兼联合创始人Brad Jefferson表示:“由于Animoto与Facebook整合,EC2实例的数量从100增长到5,000。”
If you want to read or like know more case study please like this link https://aws.amazon.com/solutions/case-studies/.
如果您想阅读或希望了解更多案例研究,请点击此链接https://aws.amazon.com/solutions/case-studies/ 。
大手笔 (The Big Spenders)
AWS EC2 is the product that AWS users often spend the most money on, so we’ll base our answer on that.
AWS EC2是AWS用户最常花钱购买的产品,因此我们将以此为基础进行回答。
Based on EC2 monthly spend, here are the top 10 Amazon AWS customers:
根据EC2每月支出,以下是十大Amazon AWS客户:
- Netflix — $19 million Netflix-1900万美元
- Twitch — $15 millionTwitch-1500万美元
- LinkedIn — $13 millionLinkedIn-1300万美元
- Facebook — $11 millionFacebook-1100万美元
- Turner Broadcasting — $10 million特纳广播公司— 1000万美元
- BBC — $9 million英国广播公司— 900万美元
- Baidu — $9 million百度-900万美元
- ESPN — $8 millionESPN-800万美元
- Adobe — $8 millionAdobe-800万美元
- Twitter — $7 millionTwitter-700万美元
For Further Queries, Suggestion’s Feel Free to Connect me On Linkedin or comment below
对于疑问,建议的随意与我联系在LinkedIn或下面的评论
If you like it then Clap & Share ..
如果你喜欢它,那么拍手和分享..
Thank you EveryOne For reading .!!
谢谢大家阅读。
翻译自: https://medium.com/@silver107u/lets-understand-cloud-computing-and-some-case-studies-869e51694bd1
云计算 shell脚本实例