You are on page 1of 22

CLOUD BASICS

FOR RESEARCH
COMPUTING

WINTERSESSION 2022

IRENE KOPALIANI, PHD, CISA, CISM


IK8@PRINCETON.EDU
Attendance
AGENDA http://cglink.me/2gi/c1340947101281936

 Types of Cloud  Logging in


 Why use Cloud  Overview of the environment – dashboards, menus
 Public Cloud Adoption  Creating Resource Groups & Tags
 Pros/Cons of largest Hyperscale Providers  Adding new services
 Security Misconceptions  Creating Virtual Machines & Network Security
 Cloud Spend Waste Groups

 Strategies for Cost Reduction  Storage Options

 Automation Example  Deleting Resource Groups

 Resources – links to calculators  Getting Help


TYPES OF CLOUDS

Hybrid

Private

Multi Cloud
Specialty
Cloud
Public
Reduced cost 1
2 Flexibility
Scalability 3
4 Built-in backup plan
Technology options 5
6 Collaboration
76% 12% 5%

69% 18% 5%

34% 26% 12%

20% 14% 11%

15% 15% 9%
7% 13% 8%
Currently Use Experimenting Plan to Use
AWS

Pros Cons

 Market leader for 10 years  Cost Structure

 Massive Scope of operations  Support Fees

 Comprehensive Global Network  Overwhelming implementation choices


AZURE

Pros Cons

 Tight Microsoft products integration  Customer support issues

 Built on the existing customer base  Partner ecosystem


GCP

Pros Cons

 Strong Offer in Container  Limited Offerings

 Specializes in High compute offerings  Limited Global Data Centers

 Strong AI/ML capabilities  Secondary provider, not a strategic provider


Troubling Statistics

75% 1/2 57%


Moving data Expect security Think security
to the cloud breaches is cloud provider’s
responsibility

Cloud Security Alliance – Cloud Migration Study 2021


So, what happens when you move into a public cloud?
Who is Responsible?
Cloud Customer Responsibility
Data | Applications | Identity & Access Management

Cloud Customer Responsibility


Operating System | Firewall Configuration

Cloud Customer Responsibility


Network Traffic Protection | Data Encryption | Integrity

Cloud Provider Responsibility


Shared Responsibility Compute | Storage | Database | Networking
CLOUD SPEND WASTE
$21
Billion
$17.6
Billion
$14
Billion
$12.9
Billion

2018 2019 2020 2021


UNDERSTAND COST FACTORS

Type of Storage: Amount of redundancy and


Type: Compute, Memory, General Capacity: Provisioned read/write accessibility speed
Size: CPU/GPU and memory – i.e., large, x-large Storage: Including indices Data Transfer: In/out Frequency and number of
requests
Purchasing Method :On Demand, Reserved, Spot Services: Such as Data transfer or streams
Quantity: Number of files storage units requested
Region: where instance will be launched Throughput: Reserved provisioned throughput Region: Where data storage is requests

Compute // Serverless Compute Database //Serveless DB File Storage

Requests: Number of executions your function will perform Type: Based on Database Transaction Units Hidden Costs
Memory: The amount of allocated memory per function Size: Based on the number of virtual cores
Time: Average execution time License: Open Source or Commercial
Region: Where function will be launched Purchase Method: (On Demand, Reserved, Spot)
Strategies for Cost Savings
RIGHT SIZE SHUTDOWN SCHEDULE
Right Size the machine for the job Control running hours for resources

SPRAWL CONTROL DISCOUNTS


Control sprawl of virtual machines If discount available, use it!

EXPIRATION DATE TAGS


Monitor & delete expired instances Keep track of resources with
logical tags
Strategies for Cost Savings
ORPHAN CHECK LOGGING
Check for orphaned storage and Log user activities for audit and
lingering snapshots cross reference

ALERTS BUDGETS
Alerts and alarms notify you of Utilize budgets that will
reaching budget constraints ensure you won’t overspend

LIFECYCLE MGMT AUTOMATE


Automatically move data to a less Use Templates to stand-up/bring
expensive storage or purge data down stacks
Automation Example

Virtual Machine

{
"Monday-Thursday":{
"Start":"9",
"Shutdown":"17"
},
"Friday":{
"Start":"9",
"Shutdown":"16"
},
}
Resources

https://calculator.aws/#/ https://azure.microsoft.co https://cloud.google.com/pr


m/en- oducts/calculator/
us/pricing/calculator/
ec2instances.info https://azure.microsoft.co https://cloud.google.com/pr
m/en-us/pricing/tco/ icing/
http://www.gulamshakir.c http://v3.cloudpricingcalcul
om/apps/s3calc/ ator.appspot.com/
https://aws.amazon.com/t
co-calculator/
https://calculator.s3.amaz
onaws.com/index.html
LINKS

• A free trial account can be obtained from Microsoft https://azure.microsoft.com/en-us/free/

• Search for “Azure” in the Service-now portal https://Princeton.service-now.com

• Portal Access – https://portal.azure.com


 Logging in

 Overview of the environment – dashboards, menus

 Creating Resource Groups & Tags

 Adding new services

 Creating Virtual Machines & Network Security


 https://portal.azure.com
Groups
 Storage Options

 Deleting Resource Groups

 Getting Help

You might also like