首页 > 其他分享 >Course 3 EC2 Fundamentals

Course 3 EC2 Fundamentals

时间:2023-06-29 11:33:17浏览次数:30  
标签:instance Fundamentals High Course EC2 performance data User

Amazon EC2

  • EC2 = Elastic Compute Cloud = Infrastructure as Service
  • It mainly consists in the capability of:
    • Renting virtual machines (EC2)
    • Storing data on virtual drives (EBS)
    • Distributing load across machines (ELB)
    • Scaling the services using an auto-scaling group (ASG)

EC2 sizing & configuration options

  • Operating System (OS): Linux, Windows or Mac OS
  • How much compute power & cores (CPU)
  • How much random-access memory (RAM)
  • How much storage space:
    • Network-attached (EBS & EFS)
    • hardware (EC2 Instance Store)
  • Network card: speed of the card, Public IP address
  • Firewall rulesL securtiy group
  • Boostrap script (configure at first launch) : EC2 User Data

EC2 User Data

  • It is possible to bootstrap our instances using an EC2 User data script
  • bootstrappinp means launching commands when a machine starts
  • That script is only run once at the instance first start
    • Installing updates
    • Installing software
    • Downloading common files from the internet
    • Anything you can think of
  • The EC2 User Data Script runs with the root user

EC2 Instance Types

  • AWS has the following naming convention:
    • e.g. m5.2xlarge
    • m: instance calss
    • 5: generation(AWS improves them over time)
    • 2xlarge: size within the instance class

General Purpose

  • Great for a diversity of worklads such as web servers or code repositories
  • Balance between:
    • Compute
    • Memory
    • Networking
  • t2.micro is a General Purpose EC2 instance

Compute Optimized (C type)

  • Great for compute-intesive tasks that require high performance processors:
    • Batch processing workloads
    • Media transcoding
    • High performance web servers
    • High performance computing (HPC)

Memory Optimized (R type)

  • Fast performance for workloads that process large data sets in memory
  • Use cases:
    • High performance, relastional/non-relational databases
    • Distributed web scale cache stores
    • In-memory databases optimized for BI (business intelligence)
    • Applications performing real-time processing of big unstructured data

Storage Optimized (i/D type)

  • Great for storage-intensive tasks that require high, sequential read and write access to large data sets on local storage

标签:instance,Fundamentals,High,Course,EC2,performance,data,User
From: https://www.cnblogs.com/MY1993/p/17513800.html

相关文章

  • AWS Certificate SAA - Course 2.2 IAM & AWS CLI
    AWSAccessKeys,CLIandSDKHowcanusersaccessAWS?ToaccessAWS,youhavethe3optioins:AWSManagementConsole(password+MFA)AWSCommandLineInterface(CLI):protectedbyaccesskeysAWSSoftwareDeveloperKit(SDK)-forcode:protectedbyacce......
  • AWS Certificate SAA - Course 2 IAM & AWS CLI
    IAM:Users&GroupsIAM=IdentityandAccessManagement,GlobalserviceRootaccountcreatedbydefault,shouldn'tbeusedorsharedUsersarepeoplewithinyourorganization,andcanbegroupedIAM:PermisionsUsersareGroupscanbeassigne......
  • AWS Certificate SAA - Course 1 Getting started with AWS
    AWSCoulduseCasesAWSenablesyoutobuildsophisticated,scalableapplicationsApplicabletoadiversesetofindustriesUsecasesincludeEnterpriseIT,Backup&Storage,BigDataanalyticsWebsitehosting,Mobile&SocialAppsGamingAWS......
  • Course overview + the shell
    虚拟机崩了,难受,不能即时玩……勉强试出来了几个Windows的指令,也还是蛮好玩的但还是记一下linux的date查看日期echo打印,后可接$PATH打印所有路径cd目录跳转..父目录.子目录ls显示文件ls-l显示文件的一些信息mv重命名两个参数cp复制两个参数rm删除rmdir只删空白......
  • A First course in FEM —— matlab代码实现求解传热问题(瞬态)
    这一篇Blog是在AFirstcourseinFEM——matlab代码实现求解传热问题(稳态) 基础上更进一步,求解瞬态传热问题。两者的区别如下图所示: 1.问题描述求解下图图所示叶片的温度场在[0-1200s]时间段内的变化,初始条件:T(0)=25℃。控制方程为: 2.模型和网格模型和网格设置详......
  • 【Coursera学习笔记】 Executive Data Science(A Crash Course in Data Science)
    文章目录1.Whatisstatisticsgoodfor?1.1Statistics2.Whatismachinelearning?2.1Twomainactivitiesofmachinelearning2.2SomecharacteristicsofML3.WhatisSoftwareEngineeringforDataScience?3.1TypesofSoftware4.TheStructureofaDataScience......
  • 1494. Parallel Courses II (Hard)
    Description1494.ParallelCoursesII(Hard)Youaregivenanintegern,whichindicatesthattherearencourseslabeledfrom1ton.Youarealsogivenanarrayrelationswhererelations[i]=[prevCoursei,nextCoursei],representingaprerequisiterelat......
  • A First course in FEM —— matlab代码实现求解传热问题(稳态)
    这篇文章会将FEM全流程走一遍,包括网格、矩阵组装、求解、后处理。内容是大三时的大作业,今天拿出来回顾下。 1.问题简介 涡轮机叶片需要冷却以提高涡轮的性能和涡轮叶片的寿命。我们现在考虑一个如上图所示的叶片,叶片处在一个高温环境中,中间通有四个冷却孔。假设为稳态,那......
  • ABC306 Poisonous Full-Course
    Atcoder题目链接题目大意Takahashi要品尝\(N\)个菜品.这些菜品中有些是有毒的,有些是解药.当他吃下第\(i\)个菜品时,他的总美味值会增加\(Y_{i}\),同时有以下效果:如果吃下的菜品是有毒的(\(X_{i}=1\)),且他现在的胃是健康的,他的胃转变为不舒服的;如果他现在的胃已......
  • 关于AWS-EC2-EBS-快照-或者AMI-创建的过程及原理
    对于AWSEC2的EBS创建快照Snapshot的原理逻辑,主要如下快照是异步制作的;时间点快照是立即创建的,但在快照完成(当所有已修改数据块都已转移到AmazonS3时)之前,其状态为 pending,很多大型初始快照或后续快照(其中的数据块已更改)可能需要几个小时才能完成。执行期间,正在进行的快照......