astronomy in the cloud · email : [email protected] phone : 00353 1 961 1719 september 16, 2015...

54
Heidelberg Institute for Theoretical Studies September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 1/54 Astronomy in the Cloud using cloud infrastructure to cooperate, scale, and democratise e-science

Upload: others

Post on 27-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

Heidelberg Institute forTheoretical Studies

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 1/54

Astronomy in the Cloudusing cloud infrastructure to cooperate, scale, and democratise e-science

Page 2: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 2/54

Crowd-sourcing / Citizen Science

Page 3: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 3/54

Crowd-sourcing / Citizen Science

Page 4: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 4/54

Crowd-sourcing / Citizen Science

Page 5: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 5/54

Crowd-sourcing / Citizen Science

Page 6: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 6/54

→ Banfield, et. al. 2015

and

in the order of objects

Radio Galaxy Zoo

Page 7: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 7/54

→ Banfield, et. al. 2015

and

in the order of objects

Radio Galaxy Zoo

Page 8: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 8/54

Starting the Project

50 tar files220 GB

Page 9: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 9/54

Preprocessing

matrix from fits

flux relative to the maximum

interesting region

fits

x

I

x

I

0

1

Page 10: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 10/54

Speeding up Preprocessing

single core python = hours

with

on cores = hours

file is still the bottleneck!

Page 11: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 11/54

New Images Extracted

50 tar files220 GB

Page 12: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 12/54

Similarity Measure

calculate the pixel based

for all possible

and find the best matching angle via

Page 13: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 13/54

Results

Polsterer et al. 2014

Page 14: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 14/54

Results

Polsterer et al. 2014

Page 15: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 15/54

Results and Analysis

Page 16: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 16/54

Processing

Page 17: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 17/54

Interesting Objects

select

based on distribution of distances

Page 18: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 18/54

The Downsides of this Approach

a lot of local copies

no orchestration of work-flow

bad exchange of intermediate results

very exclusive concerninghardware requirements

fits

NVIDIA Tesla K40

Page 19: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 19/54

A new Project

idefield ou lier inder (Ray Norris)

ASKAP-EMU project

from known radio sources

develop methodology to discover

science in large data sets

Page 20: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 20/54

A new Concept

use commercial cloud computing providerwith data-center in Sydney

Page 21: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 21/54

The Concept

centralized storage and compute

embedded repository and project management tool

script all preprocessing andprovide orchestration

VIS Script

orchestration layer

Page 22: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 22/54

Why use a Company?

international project:● who is providing resources?

● who has the infrastructure?

● who provides the services?

why not run our own science cloud?● using open stack

Page 23: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 23/54

Why use a Company?

international project:● who is providing resources?

● who has the infrastructure?

● who provides the services?

why not run our own science cloud?● using open stack

who does currently

provide this

for astronomy?

Page 24: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 24/54

There a many Cloud Provider

Page 25: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 25/54

Use Amazon Web Services

provides the larges variety of services and the best infrastructure

SKA grant from

Page 26: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 26/54

What is really new?

scaling and immediately

no longer depending on

hardware requirements

no between small university institutes and

large research centers

data via credits

open to all

DOWNDOWNUPUP

Page 27: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 27/54

Basics

Page 28: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 28/54

Basics

Page 29: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 29/54

Basics

Page 30: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 30/54

Basics

Page 31: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 31/54

Simple/Scalable Storage Service (S3)

Page 32: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 32/54

Simple/Scalable Storage Service (S3)

Page 33: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 33/54

Simple/Scalable Storage Service (S3)

Page 34: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 34/54

Simple/Scalable Storage Service (S3)

Page 35: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 35/54

Simple/Scalable Storage Service (S3)

aws sync RadioGalaxyZoo s3://radiogalaxyzoo

Page 36: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 36/54

Simple/Scalable Storage Service (S3)

aws sync RadioGalaxyZoo s3://radiogalaxyzoo

Page 37: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 37/54

Simple/Scalable Storage Service (S3)

aws sync RadioGalaxyZoo s3://radiogalaxyzoo

www.slideshare.net/AmazonWebServices/amazon-s3-masterclass

Page 38: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 38/54

Elastic Cloud Computing (EC2)

Page 39: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 39/54

Elastic Cloud Computing (EC2)

Page 40: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 40/54

Elastic Cloud Computing (EC2)

Page 41: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 41/54

Elastic Cloud Computing (EC2)

Page 42: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 42/54

Elastic Cloud Computing (EC2)

Page 43: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 43/54

Elastic Cloud Computing (EC2)

Page 44: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 44/54

Elastic Cloud Computing (EC2)

Page 45: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 45/54

Elastic Cloud Computing (EC2)

Page 46: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 46/54

Elastic Cloud Computing (EC2)

Page 47: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 47/54

Elastic Cloud Computing (EC2)

Page 48: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 48/54

Elastic Cloud Computing (EC2)

Page 49: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 49/54

Elastic Cloud Computing (EC2)

Page 50: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 50/54

Elastic Cloud Computing (EC2)

Page 51: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 51/54

Elastic Cloud Computing (EC2)

www.slideshare.net/AmazonWebServices/amazon-ec2-masterclass

Page 52: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 52/54

Voucher

Thanks to

we hand out 50$ voucher

need assistance?Peter MeagherEMEA Account ManagerEMEA Public SectorEmail : [email protected] : 00353 1 961 1719

Page 53: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 53/54

Conclusion

thanks to

we know how to access data

we still need to learn how to

and

data

Page 54: Astronomy in the Cloud · Email : meagherp@amazon.com Phone : 00353 1 961 1719 September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer

September 16, 2015 AG2015 | eScience & Virtual Observatory | Astronomy in the Cloud | Kai Lars Polsterer 54/54@AstroInformatix