1 of 54

LIGHTNING

ROUND

CLOUD FORUM 2023

2 of 54

Lightning Round Rules

5 Minutes – Strictly Enforced

Countdown Notifications at 3 and 1 min remaining

Questions are not allowed during presentations, please follow up with the speaker during networking time

3 of 54

Click to add the title text

Automating DNS Registration for AzureSimon Fairey, Princeton University

SELECT * FROM CLOUD�Matthew Rich, Northwestern University

Automating EC2 Patching�Ezequiel Gioia, University of Central Florida

Approach to Setting up Cloud-App Configs�Yu Li, Virginia Tech

Cloud Insights: Who, How, Why, How Much?�Todd Reilly, National Institutes of Health

4 of 54

Simon Fairey

Princeton

Automating DNS Registration for Azure

PART ONE

5 of 54

Automating DNS Registration for Azure

Cloud Forum 2023

Simon Fairey – Princeton - Lead DevOps Engineer – May 11th 2023

© 2023 Princeton University OIT

6 of 54

On Premise DNS Processes

Lengthy and complicated ServiceNow form for private DNS

Shorter ServiceNow form for public DNS

Neither appropriate for Azure and IaC

6

© 2023 Princeton University OIT

7 of 54

Azure DNS Process

Functional tags added to specific resource types

Subscription level system topic events sent to ServiceNow webhook

ServiceNow maintains (CRUD) Infoblox records

7

© 2023 Princeton University OIT

8 of 54

https://learn.microsoft.com/en-us/azure/security/fundamentals/subdomain-takeover#what-is-a-subdomain-takeover

8

© 2023 Princeton University OIT

9 of 54

Next Steps

Add TXT records for improved security

Support more resources

Add SSL certificate automation and renewal

9

© 2023 Princeton University OIT

10 of 54

Matthew Rich

Northwestern University

SELECT * FROM CLOUD

PART TWO

11 of 54

SELECT * FROM CLOUD

Using CloudQuery at Northwestern

12 of 54

The 3am Phone Call

12

Image credit: Joe Haupt, flickr.com

13 of 54

What do you have in the cloud?

  • How fast can you find your resources across many cloud environments?
  • Across multiple cloud service providers?
  • While one of those CSPs is experiencing an outage?

13

14 of 54

CloudQuery

  • From the docs: “CloudQuery extracts, transforms, and loads configuration from cloud APIs to variety of supported destinations such as databases, data lakes, or streaming platforms for further analysis.”
  • https://www.cloudquery.io/

14

15 of 54

How it works

  • Distributed as a Go binary (or you can build)
  • “Source” plugins: CSPs & SaaS providers
    • Pulls resource, configuration data
    • Currently 39 official + 5 partner/community sources
  • “Destination” plugins: Data stores
    • Currently 19 official destinations
    • E.g. Postgresql, object storage, local files

15

16 of 54

CloudQuery @ Northwestern

  • Runs nightly via Fargate task run by AWS Step Functions state machine
  • ~180 cloud environments queried in ~15 min (US regions only)
  • Writes to on premises Postgresql database
  • Library of useful SQL queries to find resources

16

17 of 54

Extremely useful!

  • Originally just for incident management, now used to quickly find all kinds of resources across accounts, which AWS can’t do natively
    • Which accounts have active Savings Plans?
    • Who has t3 unlimited instances?
    • Which account generated that email cert verification request?

17

18 of 54

Thanks!

18

19 of 54

Ezequiel Gioia

University of Central Florida

Automating EC2 Patching

PART THREE

20 of 54

��Automating EC2 Patching�Cloud Forum 2023

Ezequiel Gioia�Systems Architect�University of Central Florida

21 of 54

CHALLENGE

  • Researchers creating EC2 instances that are not being patched
  • Instances that are isolated, not connected back to campus
  • Lack of visibility of missing critical patches

University of Central Florida

Page 21

22 of 54

PROPOSED SOLUTION

  • Systems Manager, Patch Manager
    • Define patch policies
    • Use tags to apply policies
    • Control Tower Support
    • Security Hub Support

University of Central Florida

Page 22

23 of 54

CONSIDERATIONS

  • Research workloads can be time-sensitive
  • To avoid interrupting critical experiments, you may want to add a manual approval step

University of Central Florida

Page 23

24 of 54

PLAY TIME!

University of Central Florida

Page 24

25 of 54

BRICKS AND SERVICES

  • Step Functions as the baseplate
  • EventBridge to get the external event that triggers the flow
  • Lambda to compose message
  • SNS to send the communication out to the user
  • Lambda + API Gateway to the the response back
  • Systems Manager / Patch Manager to patch the instance

Event Bridge

Patch Manager

SNS

Step Functions

Lambda

Lambda

API Gateway

University of Central Florida

Page 25

26 of 54

BASIC APPROVAL WORKFLOW

University of Central Florida

Page 26

27 of 54

CODING THE WORKFLOW

Amazon State Language (ASL)

Type of Task Integrations:

    • Request Response
    • Synchronous (Batch and ECS)
    • Wait For Task Token

University of Central Florida

Page 27

28 of 54

ADDING BACKUPS

University of Central Florida

Page 28

29 of 54

NEXT STEPS

  • Review API Gateway endpoint security
  • Add more notifications
    • Instance patched
    • Backup failed
  • Simplify backup job wait

CODE AND FURTHER DETAILS

bit.ly/patch-approval

University of Central Florida

Page 29

30 of 54

Yu Li

Virginia Tech

Approach to Setting up Cloud-App Configs

PART FOUR

31 of 54

Approach to Setting up Cloud-App Configs

Yu Li

yul@vt.edu

32 of 54

What?

      • Database connections
      • Cache server connections
      • Logging levels
      • Alarm settings
      • And so on ……

33 of 54

How?

AWS AppConfig

      • Configure
      • Validate
      • Deploy
      • Monitor

Source Code

      • Cover most of AppConfig pros
      • More flexible
      • More user-friendly
      • More secure

34 of 54

35 of 54

36 of 54

Todd Reilly

National Institutes of Health

Cloud Insights: Who, How, Why, How Much?

PART FIVE

37 of 54

Cloud Insights – Who, How, Why, How Much?

R. Todd Reilly, PhD

May 2023

NIH STRIDES Initiative

38 of 54

Frequently Asked Questions

NIH STRIDES INITIATIVE

Leadership

Who is using STRIDES?

How much [time, effort, $] is NIH saving?

Researchers & Program Officers

How much $ am I spending?

How does my bill break down?

39 of 54

Reporting to Leadership

NIH STRIDES INITIATIVE

40 of 54

The STRIDES App

NIH STRIDES INITIATIVE

End Users

STRIDES Team

Business Process Automation

Account Request

Account Status Updates

Internal Approval & Review

Operations

Data Ingest & Changes

Security &

Permissions

Inquiries

Visualization

Analytics

Data

Dataverse

41 of 54

Our Vision

NIH STRIDES INITIATIVE

End Users

STRIDES Team

Customers

CSPs & Partners

Business Process Automation

Account Request

Account Status Updates

Acct Data Changes

Internal Approval & Review

UBI Request

Acct Reports

Provision

Cost & Usage, Alert & Reporting

Targeted Outreach

Operations

Data Ingest & Changes

Security &

Permissions

Inquiries

Visualization

Analytics

Data

Dataverse

Dashboard Solution

42 of 54

How We Visualize�Participation

NIH STRIDES INITIATIVE

43 of 54

How We Visualize�Account Stewardship

NIH STRIDES INITIATIVE

44 of 54

How We Visualize�Research Topics

NIH STRIDES INITIATIVE

45 of 54

Other Visuals of�Research Topics

NIH STRIDES INITIATIVE

46 of 54

Reporting to Researchers & Program Officers

NIH STRIDES INITIATIVE

47 of 54

Annotated Spending Reports

NIH STRIDES INITIATIVE

STRIDES distributes monthly spending reports to customers.

May

Sun

Mon

Tues

Wed

Thurs

Fri

Sat

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

May 1

May billing cycle starts

May 31

May billing cycle ends

June

Sun

Mon

Tues

Wed

Thurs

Fri

Sat

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

June 10

May invoices issued

June 30

May spending reports sent

48 of 54

How We Report On Services Consumed

NIH STRIDES INITIATIVE

BAR GRAPH

How much did I spend for different types of cloud services?

LEGEND

What’s included in each category?

49 of 54

How We Report On Multiple Accounts

NIH STRIDES INITIATIVE

SPEND TABLE

How much did I spend in a fiscal year?

CATEGORIZED EXPENSES

How much did each of my accounts spend on each service?

50 of 54

In Conclusion…

NIH STRIDES INITIATIVE

51 of 54

We’ve Learned a Few Things

NIH STRIDES INITIATIVE

  • Metadata is critical
  • Utilization is complicated
  • Impact is difficult to measure…
  • But you can plant seeds

52 of 54

And We Have Big Plans

NIH STRIDES INITIATIVE

Metrics

Shift focus from number of accounts to projects supported

Metadata

Gather more effective metadata to better interrogate our data

Service Catalogs

Collaborate on catalogs linking cloud services to research domains

Community

Engage with our community to improve bi-directional sharing

53 of 54

Contact Us

NIH STRIDES Initiative – STRIDES@nih.gov

54 of 54

THANKS!