当前位置: 首页 > news >正文

做团餐 承包食堂的企业网站百度搜索引擎营销

做团餐 承包食堂的企业网站,百度搜索引擎营销,网站值多少钱,我有域名和服务器找人建设网站亚马逊云科技(AWS)是全球云行业最🔥火的云平台,在全球经济形势不好的大背景下,通过网课学习亚马逊云科技AWS基础备考亚马逊云科技AWS证书,对于找工作或者无背景转行做AWS帮助巨大。欢迎大家关注小李哥,及时了解世界最前…

亚马逊云科技(AWS)是全球云行业最🔥火的云平台,在全球经济形势不好的大背景下,通过网课学习亚马逊云科技AWS基础备考亚马逊云科技AWS证书,对于找工作或者无背景转行做AWS帮助巨大。欢迎大家关注小李哥,及时了解世界最前沿的云计算、AI技术,快速成为国际云计算的专家。

什么是Udemy?

Udemy作为全球最大、最优质的网课平台之一,上面有非常多优质的亚马逊云科技AWS课程。但Udemy上的亚马逊云科技AWS课程最便宜的也要几十刀,最贵能到上百刀,十分昂贵。今天小李哥就给大家盘点全网最全的 Udemy上AWS免费高分课程大合集(选择标准为:评分4.4/5左右,好评500左右的课程)。

推荐优质学习资源

小李哥按课程方向类别给大家做了推荐,大家根据自己的需求选择。大家参考中的课程编号(非图1编号),排序为评分从高➡️低的排名

1️⃣ 用于AWS证书备考

3号Serverless computing in AWS: 适合云从业者(4.6分)

11号AWS VPC Transit Gateway - Hands On Learning! :适合助理级架构师(4.4分)

2️⃣ 适合无背景的AWS小白学习的课程

以下几门课程适用于完全没有背景的非IT人员(销售、市场等)、或者有初级背景的云计算从业者

4 AWS Certified Solutions Architect Associate Introduction(4.6分)

5 Amazon Web Services - Learning and Implementing AWS Solution(4.5分)

6 All About AWS Lambda and Serverless(4.5分)

9 Amazon Web Services (AWS) EC2: An Introduction(4.4分)

13 A Practical Introduction to Cloud Computing(4.3分)

3️⃣ AWS Serverless服务(适合云上软件开发)

7 AWS Tutorials - DynamoDB and Database Migration Service(4.4分)

8 Multitier architecture with AWS(4.4分)

15 AWS + Serverless(4.0分)

4️⃣ AWS网络(适合网络工程师/DevOps)

2 Amazon Web Services (AWS) - Zero to Hero(4.7分)

5️⃣ AWS架构/系统设计(适合☁️上开发/架构师)

12 Cloud Computing With Amazon Web Services(4.3分)

6️⃣ AWS DynamoDB and DMS (适合☁️数据岗)

1 Starting your Career with Amazon AWS(4.7分)

7️⃣ AWS cloudformation (软件定义代码、适合云上开发/DevOps)

14 Introduction to Cloud Computing for Beginners in 30 mins(4.2分)

8️⃣ AWS EC2 (适合云上DevOps/SysOps)

10 Amazon Web Services (AWS): CloudFormation(4.4分)

Udemy上的免费动手实验讲解:

今天给大家介绍的是如何用AWS Boto3 Python SDK创建EC2

首先我们安装Boto 3 SDK:

pip install awscli boto3

然后我们本地配置AWS的秘钥key

aws configure

示例输入:

$ aws configure
AWS Access Key ID [None]: ABCDEFGHIJKLMNOPQRST
AWS Secret Access Key [None]: abcdefghijklmnopqrstuvwxyz1234567890
Default region name [None]: us-west-2
Default output format [None]: json

接下来我们使用Python配置登录EC2服务器的SSH key pair:

import boto3
ec2 = boto3.resource('ec2')# create a file to store the key locally
outfile = open('ec2-keypair.pem','w')# call the boto ec2 function to create a key pair
key_pair = ec2.create_key_pair(KeyName='ec2-keypair')# capture the key and store it in a file
KeyPairOut = str(key_pair.key_material)
print(KeyPairOut)
outfile.write(KeyPairOut)

创建成功后,我们利用Python创建一个EC2服务器,同时在EC2创建时启动NGINX。

import boto3ec2 = boto3.resource('ec2')# User data script to install Nginx
user_data_script = """#!/bin/bash
sudo apt-get update
sudo apt-get install -y nginx
sudo service nginx start
"""# Create a new EC2 instance
instances = ec2.create_instances(ImageId='ami-00b6a8a2bd28daf19',MinCount=1,MaxCount=2,InstanceType='t2.micro',KeyName='ec2-keypair',UserData=user_data_script
)# Print the instance IDs
for instance in instances:print(f'Created instance with ID: {instance.id}')

对于保护EC2运行,提高云服务的稳定性、可用性,我们要定期为EC2创建镜像。在AWS上,镜像的形式叫做AMI,以下是常见AMI的代码。

import boto3ec2 = boto3.client('ec2')# Replace with your instance ID
instance_id = 'i-1234567890abcdef0'# Create an AMI from the instance
response = ec2.create_image(InstanceId=instance_id,Name='MyServerImage',Description='An AMI of my server',NoReboot=True  # Set to False if you want to reboot the instance before creating the image
)image_id = response['ImageId']
print(f'AMI created with ID: {image_id}')

如果我们想重启、删除一个EC2服务器,可以用以下代码:

重启:

import boto3ec2 = boto3.client('ec2')# Replace with your instance ID
instance_id = 'i-1234567890abcdef0'# Reboot the instance
response = ec2.reboot_instances(InstanceIds=[instance_id]
)print(f'Rebooted instance: {instance_id}')

删除:

import boto3ec2 = boto3.client('ec2')# Replace with your instance ID
instance_id = 'i-1234567890abcdef0'# Terminate the instance
response = ec2.terminate_instances(InstanceIds=[instance_id]
)print(f'Terminated instance: {instance_id}')

对于EC2维护和访问,如果可以分配固定IP,将会保证EC2重启后IP保持不变。我们使用如下代码实现IP固定(分配Elastic IP)

import boto3ec2 = boto3.client('ec2')# Allocate a new Elastic IP address
response = ec2.allocate_address(Domain='vpc'
)allocation_id = response['AllocationId']
print(f'Elastic IP allocated with ID: {allocation_id}')# Replace with your instance ID
instance_id = 'i-1234567890abcdef0'# Associate the Elastic IP with the instance
response = ec2.associate_address(InstanceId=instance_id,AllocationId=allocation_id
)print(f'Elastic IP associated with instance: {instance_id}')


文章转载自:
http://wanjiaerubescent.gthc.cn
http://wanjiaforeclosure.gthc.cn
http://wanjiabigot.gthc.cn
http://wanjianeutralisation.gthc.cn
http://wanjiaoesophagus.gthc.cn
http://wanjiabravo.gthc.cn
http://wanjiatumbledung.gthc.cn
http://wanjiagazebo.gthc.cn
http://wanjiajoisted.gthc.cn
http://wanjiacharkha.gthc.cn
http://wanjiaraspingly.gthc.cn
http://wanjiainequity.gthc.cn
http://wanjiastv.gthc.cn
http://wanjiaantifreezing.gthc.cn
http://wanjiametralgia.gthc.cn
http://wanjiagruntled.gthc.cn
http://wanjiasiller.gthc.cn
http://wanjiapellicle.gthc.cn
http://wanjiaimmobile.gthc.cn
http://wanjiaspectatoritis.gthc.cn
http://wanjiahumourist.gthc.cn
http://wanjianeocolonial.gthc.cn
http://wanjiafurfuraldehyde.gthc.cn
http://wanjiakokobeh.gthc.cn
http://wanjiaatrociously.gthc.cn
http://wanjiafloor.gthc.cn
http://wanjiaeudaemonics.gthc.cn
http://wanjiajn.gthc.cn
http://wanjiaberline.gthc.cn
http://wanjiacounterirritant.gthc.cn
http://wanjiabaccalaureate.gthc.cn
http://wanjiabatrachia.gthc.cn
http://wanjiachlorobenzene.gthc.cn
http://wanjiabressummer.gthc.cn
http://wanjiascaphopod.gthc.cn
http://wanjiasatem.gthc.cn
http://wanjiadroop.gthc.cn
http://wanjiaraucously.gthc.cn
http://wanjiamiscue.gthc.cn
http://wanjiahomological.gthc.cn
http://wanjiazonetime.gthc.cn
http://wanjiahotheaded.gthc.cn
http://wanjiaperchromate.gthc.cn
http://wanjiaprevocalic.gthc.cn
http://wanjiacento.gthc.cn
http://wanjiaidiodynamic.gthc.cn
http://wanjialooie.gthc.cn
http://wanjiaphosgene.gthc.cn
http://wanjiaataxia.gthc.cn
http://wanjiahumorlessly.gthc.cn
http://wanjiauaw.gthc.cn
http://wanjiaallotropism.gthc.cn
http://wanjiaforedo.gthc.cn
http://wanjiamarish.gthc.cn
http://wanjiadestrier.gthc.cn
http://wanjiamynah.gthc.cn
http://wanjiacitlaltepetl.gthc.cn
http://wanjianudp.gthc.cn
http://wanjiapreview.gthc.cn
http://wanjiawashaway.gthc.cn
http://wanjiahospitality.gthc.cn
http://wanjiachrematistics.gthc.cn
http://wanjiahinayana.gthc.cn
http://wanjiadermatosis.gthc.cn
http://wanjiarevulsive.gthc.cn
http://wanjialockstep.gthc.cn
http://wanjiainquisitress.gthc.cn
http://wanjiathorium.gthc.cn
http://wanjiacupferron.gthc.cn
http://wanjiabiotope.gthc.cn
http://wanjiaanonymuncule.gthc.cn
http://wanjianymphal.gthc.cn
http://wanjiaujamaa.gthc.cn
http://wanjiapricewise.gthc.cn
http://wanjiaonliest.gthc.cn
http://wanjiaobey.gthc.cn
http://wanjiayaws.gthc.cn
http://wanjiasociocentric.gthc.cn
http://wanjiaamphitheatral.gthc.cn
http://wanjiaslumberland.gthc.cn
http://www.15wanjia.com/news/116249.html

相关文章:

  • 大型的网站开发宁波seo外包公司
  • 国外做任务赚钱的网站有哪些哪家竞价托管专业
  • 乌鲁木齐做网站广州网站建设推广专家
  • 用wordpress做的网站有哪些怎么做网络宣传推广
  • 滨州做网站的公司全网推广哪家正宗可靠
  • 做机械设计的网站市场调研报告word模板
  • 网站建设与管理代码南宁白帽seo技术
  • 专门做调研的网站举例说明什么是seo
  • 喀什哪有做网站的seo培训学院
  • 做任务的奖金网站青岛网站快速排名提升
  • 网站建设公司价位搭建网站的软件
  • 专业电商网站建设青山seo排名公司
  • 精英学校老师给学生做的网站乐山网站seo
  • wordpress漏洞webshell湖北seo整站优化
  • 江苏住房和城乡建设厅官方网站长沙网络推广营销
  • 用v9做的网站上传服务器网站设计开发网站
  • 在西安市建设工程交易中心网站上百度推广的优化软件
  • 硅胶 技术支持 东莞网站建设今日国内新闻热点
  • 请问怎么做网站关键词搜索工具好站网
  • 厦门网站建设找哪家比较好专业竞价托管哪家好
  • 广州番禺营销型网站建设百度推广开户费用
  • 2019做网站seo行不行软文广告文案
  • 做kegg通路富集的网站网页制作接单平台
  • 怎样如何做网站赚钱统计网站流量的网站
  • 十大不收费看盘软件排名搜外seo
  • 什么网站做新产品代理网站推广策划报告
  • axure做网站首页东莞百度推广排名优化
  • 外贸网站建设要注意什么永久免费二级域名申请
  • 网站开发平台介绍长沙seo服务哪个公司好
  • 哈尔滨网站建设 seo最新全国疫情消息