亚马逊aws深度学习

AWS has taken the tech community by storm. It’s easily sold as one of the most reliable providers with an exhaustive list of services from object storage to machine learning.

AWS席卷了技术社区。 它是最可靠的提供程序之一,从对象存储到机器学习都提供详尽的服务列表,因此很容易售出。

But it can easily be overwhelming for someone new to the cloud. Where should you start when trying to learn AWS?

但是对于刚接触云的人来说,这很容易让人不知所措。 尝试学习AWS时应该从哪里开始?

  • Object storage with AWS S3

    使用AWS S3进行对象存储

  • Host and deploy a static website with AWS S3 and CloudFront

    使用AWS S3和CloudFront托管和部署静态网站

  • Create a serverless function with AWS Lambda

    使用AWS Lambda创建无服务器功能

  • Spin up a managed server with AWS EC2

    使用AWS EC2启动托管服务器

  • Learn the AWS acronyms (seriously)

    认真学习AWS首字母缩略词

使用AWS S3进行对象存储 (Object storage with AWS S3)

S3 is AWS' solution for object storage. From a really simple point of view, S3 buckets are kind of like a hard drive in the cloud for static files. This means while you can upload pretty much anything to S3, once it’s there, you can’t really do anything with it except download it or write over it.

S3是AWS的对象存储解决方案。 从非常简单的角度来看,S3存储桶有点像云中的静态文件硬盘。 这意味着尽管您可以将几乎所有内容上传到S3,但是一旦存在,您就无法真正对其进行任何操作,除非下载或覆盖它。

But S3 is cheap and storage is a service that pretty much every website needs. This makes S3 a really valuable service that is a de facto part of any modern architecture.

但是S3便宜,存储是几乎每个网站都需要的服务。 这使S3成为真正有价值的服务,实际上是任何现代体系结构的一部分。

Have some simple images you want to store? Dump them in an S3 bucket. Have some PDFs that you generate for reports? Store and access them from an S3 bucket.

您要存储一些简单的图像吗? 将它们转储到S3存储桶中。 您是否为报告生成了一些PDF? 从S3存储桶中存储和访问它们。

While you can’t execute the code, browsers work by downloading files like JavaScript and then executing those files on its own, so it’s a perfect combo for static web assets or photos.

尽管您无法执行代码,但浏览器通过下载JavaScript之类的文件然后单独执行这些文件来工作,因此它是静态Web资产或照片的理想组合。

学习资源 (Resources for learning)

  • Amazon S3 (aws.amazon.com)

    亚马逊S 3(aws.amazon.com)

  • How do I upload files and folders to an S3 bucket? (docs.aws.amazon.com)

    如何将文件和文件夹上载到S3存储桶? (docs.aws.amazon.com)

使用AWS S3和CloudFront托管和部署静态网站 (Host and deploy a static website with AWS S3 and CloudFront)

Let's take what we just learned about AWS S3 a little bit further. Since browsers ultimately download files to use them, we can use S3 as a way to host static websites with a simple check of a box!

让我们进一步了解一下刚刚了解的有关AWS S3的知识。 由于浏览器最终会下载文件以使用它们,因此我们可以使用S3来简单地选中一个框来托管静态网站!

S3 offers a configuration option that allows us to serve a website from a simple bucket. It sets up the bucket to allow HTTP requests that the browser can recognize, which makes that Gatsby app you just compiled or even a single HTML file a perfect candidate for S3.

S3提供了一个配置选项 ,使我们可以从简单的存储桶中访问网站。 它将存储桶设置为允许浏览器可以识别的HTTP请求,这使刚编译的Gatsby应用程序甚至单个HTML文件成为S3的理想选择。

CloudFront comes in at the tail end and provides the CDN (or content delivery network) for our website. Where S3 allows us to host the website in a bucket, CloudFront sits in front of the bucket as a cached distributed network layer that allows our website to get to our visitor’s browsers quicker than straight from S3.

CloudFront位于后端,并为我们的网站提供CDN(或内容交付网络)。 S3允许我们在存储桶中托管网站,而CloudFront作为存储的分布式网络层位于存储桶的前面,它使我们的网站比直接从S3进入访问者浏览器的速度更快。

学习资源 (Resources for learning)

  • Amazon S3 (aws.amazon.com)

    亚马逊S 3(aws.amazon.com)

  • Amazon CloudFront (aws.amazon.com)

    亚马逊CloudFront (aws.amazon.com)

  • How to host and deploy a static website or JAMstack app to AWS S3 and CloudFront (freecodecamp.org)

    如何将静态网站或JAMstack应用托管和部署到AWS S3和CloudFront (freecodecamp.org)

  • How to host and deploy a static website or JAMstack app on AWS S3 & CloudFront (youtube.com)

    如何在AWS S3和CloudFront (youtube.com) 上托管和部署静态网站或JAMstack应用程序

  • Hosting a static website on Amazon S3 (docs.aws.amazon.com)

    在Amazon S3上托管静态网站 (docs.aws.amazon.com)

使用AWS Lambda创建无服务器功能 (Create a serverless function with AWS Lambda)

If you’re new to the serverless world, the idea isn’t that there are literally no servers. It's just that as a customer, you don't have to manage those servers.

如果您是无服务器世界的新手,那么您的想法并不是没有服务器。 只是作为客户,您不必管理那些服务器。

Most cloud providers have some kind of solution for serverless services, but one of the most popular is using Lambda functions from AWS.

大多数云提供商都为无服务器服务提供了某种解决方案,但是最受欢迎的解决方案之一是使用AWS的Lambda函数。

Lambdas functions are what they sound like, a function, but they run in the cloud. You don’t have to worry about any of the resources that make that function run, just the environment you want to write in such as node or python.

Lambdas函数听起来像是一个函数,但它们在云中运行。 您不必担心使该函数运行的任何资源,只需担心要在其中编写的环境(例如节点或python)。

This is powerful and cheap! It helps abstract logic into a single function in a cloud that can be scaled as much as you want (given any 3rd party services it reaches out to can scale that much).

这既功能强大又便宜! 它有助于将逻辑抽象到云中的单个功能中,该功能可以根据您的需要进行扩展(考虑到它提供的任何第三方服务都可以扩展)。

What can you do with Lambda? Here are just a few examples:

您可以用Lambda做什么? 这里只是几个例子:

  • Read and write data to S3 or a database读写数据到S3或数据库
  • Process data with complex logic使用复杂逻辑处理数据
  • Create a web application using Express

    使用Express创建Web应用程序

There’s a lot of potential that getting familiar with AWS Lambda can unlock!

熟悉AWS Lambda可以释放很多潜力!

学习资源 (Resources for learning)

  • AWS Lambda (aws.amazon.com)

    AWS Lambda (aws.amazon.com)

  • Learn AWS Lambda from Scratch (egghead.io)

    从Scratch (egghead.io) 了解AWS Lambda

  • Cron Job AWS Lambda Functions Tutorial – How to Schedule Tasks (freecodecamp.org)

    Cron Job AWS Lambda函数教程–如何安排任务 (freecodecamp.org)

使用AWS EC2启动托管服务器 (Spin up a managed server with AWS EC2)

One of the big selling points of AWS is that we can do all of our computing in our cloud. And that goes for anything!

AWS的最大卖点之一是我们可以在云中进行所有计算。 那对任何事情都有用!

At the core of AWS is Amazon EC2 (Elastic Compute Cloud) which is at its simplest a server in the cloud.

AWS的核心是Amazon EC2 (弹性计算云),它是最简单的云服务器。

Using EC2, you can spin up a server with a variety of available configurations where you can pretty much do whatever you want. You can start small if you only want to do simple operations or you can scale both vertically and horizontally to give you a lot of processing power for your data heavy operations.

使用EC2,您可以启动具有各种可用配置的服务器,在其中几乎可以执行任何所需的操作。 如果您只想执行简单的操作,则可以从小处着手,也可以在垂直和水平方向上进行缩放,从而为数据繁重的操作提供大量处理能力。

Some of the things that you can do with EC2 include:

您可以使用EC2进行的一些操作包括:

  • Spinning up a new instance of Wordpress or your favorite CMS启动一个新的Wordpress实例或您最喜欢的CMS
  • Managing a custom webserver管理自定义Web服务器
  • Compute heavy processing of science data计算科学数据的繁重处理

学习资源 (Resources for learning)

  • Amazon EC2 (aws.amazon.com)

    亚马逊EC2 (aws.amazon.com)

  • How to Spin Up a Remote Server on AWS (freecodecamp.org)

    如何在AWS上启动远程服务器 (freecodecamp.org)

  • Running a Virtual Ubuntu Desktop (ubuntu.com)

    运行虚拟Ubuntu桌面 (ubuntu.com)

  • From Zero to AWS EC2 for Data Science (medium.com)

    从零到适用于数据科学的AWS EC2 (medium.com)

了解AWS首字母缩写词 (Learn the AWS acronyms)

Seriously. As a front end engineer who’s been building websites for a long time, one of the most valuable things for me to be productive with the rest of my team was to learn the acronyms of the various AWS services.

说真的 作为长期建立网站的前端工程师,与其他团队一起工作对我来说最有价值的事情之一就是学习各种AWS服务的缩写。

S3? EC2? CF? I can come up with a lot of wrong answers from that, but being able to simply know what those things mean makes me capable of keeping up with the conversation.

S3? EC2? CF? 我可以从中得出很多错误的答案,但是能够简单地知道那些事情的含义使我能够跟上对话的步伐。

Even though I primarily work on the front end, I should have an understanding of the concepts of where we store and host our static applications. That means, I should know that S3 is Simple Storage Service and it pretty much acts like a hard drive in the cloud for static files.

即使我主要从事前端工作,我也应该了解存储和托管静态应用程序的位置的概念。 这意味着,我应该知道S3是简单存储服务,它几乎就像云中的静态文件硬盘一样。

But learning the acronyms doesn’t necessarily mean you have to know how the services work.

但是学习首字母缩写不一定意味着您必须知道服务的工作方式。

While the things to learn I’ve listed above are great to know practically, if you’re solely focused on the front end of an application, you shouldn’t be expected to understand how the ELB (Elastic Load Balancer) or EMR (Elastic MapReduce) services work. But being able to know WHAT they are is extremely helpful as you work with the rest of your team.

虽然我上面列出的要学习的东西实际上很了解,但是如果您仅专注于应用程序的前端,则不应该期望您了解ELB(弹性负载平衡器)或EMR(弹性) MapReduce)服务工作。 但是,当您与团队中的其他成员一起工作时,了解它们的作用是非常有用的。

学习AWS首字母缩略词的资源 (Resources for learning AWS acronyms)

There are many ways to learn the acronyms. You can simply go to the AWS website and read through the list of all of the services, but that’s probably not the most efficient way.

有很多学习缩写的方法。 您可以直接访问AWS网站并通读所有服务的列表,但这可能不是最有效的方法。

There are a ton of resources available for learning the fundamentals of AWS including a free 4-hour course for the AWS Certified Cloud Practitioner Course from freecodecamp.org.

有大量资源可用于学习AWS基础知识,包括来自freecodecamp.org的4小时免费AWS认证云实践者课程 。

While you don’t have to take the exam to learn the material, it’s definitely a bonus if you want to make the investment as that’s another thing you can add to your resume making you ultimately more valuable.

虽然您不必参加考试就可以学习材料,但是如果您想进行投资,那绝对是一笔红利,因为这是您可以在简历中添加的另一件事,使您最终更有价值。

But start by focusing on the services you hear most often or the ones your team uses. It will go a long way in helping you become more effective as part of your team.

但是,从关注最常听到的服务或团队使用的服务开始。 这将极大地帮助您提高团队效率。

其他可帮助您管理AWS的工具 (Other tools to help you manage AWS)

While you certainly can be productive by working with each AWS service individually, there are a ton of tools that can help make working with those services even easier.

通过单独使用每个AWS服务当然可以提高工作效率,但是有大量工具可以帮助您更轻松地使用这些服务。

AWS开发工具包 (AWS SDK)

Straight from AWS is the AWS SDK.  It comes in a few different languages such AWS SDK for Javascript which you can use via npm.

从AWS直接获得的是AWS开发工具包 。 它具有几种不同的语言,例如可通过npm使用的适用于Java的AWS开发工具包 。

With the SDK, you can interface with AWS services right in your app.

借助SDK,您可以直接在应用程序中与AWS服务交互。

无服务器框架 (Serverless Framework)

Tooling around the serverless world is still young, but the Serverless Framework is one of the tools that have stuck around the longest to help build serverless applications.

无服务器世界的工具还很年轻,但是无服务器框架是使用时间最长的工具之一,可以帮助构建无服务器应用程序。

Serverless, not to be confused with the concept, will help you spin up web applications by handling managing the deployment of the AWS services you want.

无服务器,不要与这个概念混淆,将通过管理所需的AWS服务的部署来帮助您启动Web应用程序。

AWS Lightsail (AWS Lightsail)

While you can spin up an EC2 instance to do whatever you like, AWS Lightsail can take care of some of the heavy lifting for you.

虽然您可以启动EC2实例以执行所需的任何操作,但AWS Lightsail可以为您解决一些繁重的工作。

Lightsail provides some click-and-launch services like spinning up a new Wordpress server or LAMP environment.

Lightsail提供了一些单击和启动服务,例如旋转新的Wordpress服务器或LAMP环境。

AWS放大 (AWS Amplify)

If you want a tool to manage your services for you and just get productive, AWS Amplify can help you rapidly build web and mobile applications with a variety of services.

如果您想要一种工具来为您管理服务并提高生产力, AWS Amplify可以帮助您使用各种服务快速构建Web和移动应用程序。

This includes authentication, data storage, analytics, machine learning, and a lot more.

这包括身份验证,数据存储,分析,机器学习等。

您是否已经在AWS工作过? (Have you already worked in AWS?)

What's your favorite service? Let me know on Twitter!

您最喜欢的服务是什么? 在Twitter上告诉我!