Isolates in the Cloud - Finnapl @ Suomenlinna
Experience cutting-edge cloud computing with Isolates in the Cloud at Suomenlinna in May 2023. Dive into Parallel Cloud Computing with Dyalog APL and explore scalable services for APL code in a secure environment. Set up your workspace, build containers, and push images effortlessly to the Elastic Container Registry. Join the innovative cluster of APL code and data for a seamless cloud computing experience
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
FinnAPL @ Suomenlinna, May 2023 Isolates in the Cloud Morten Kromberg
Or: Parallel Cloud Computing with Dyalog APL Isolates in the Cloud 1
Parellelizable Code (Thanks to Sampo Lappo) first_taxrate 0.5 1+ 39 result first_taxrate, CALCULATE_GINI first_taxrate 2 seconds per CALCULATE_GINI 39 initial tax rates = ~80 seconds Isolates in the Cloud 2
The Pieces Container Image External Client APL Code & Data Cluster (Elastic Container Services) Service (scalable) Task Definition Subnet Capacity Provider (FARGATE) Security Group Running Task Running Task Running Task Isolates in the Cloud 3
Before we start Create an account at Amazon Web Services (AWS) Install and configure the Command Line Interface (AWS-CLI) Install Docker All of these steps are described in the materials for Dyalog'22 workshop "SP2" Isolates in the Cloud 4
Yesterday: $2 Isolates in the Cloud 5
(Re)Create Workspace Container Image APL Code & Data Isolates in the Cloud 6
Build Container Container Image APL Code & Data Isolates in the Cloud 7
Push Container to Elastic Container Registry Container Image APL Code & Data Isolates in the Cloud 8
The Pieces Container Image External Client APL Code & Data Cluster Service (scalable) Task Definition Subnet Capacity Provider (FARGATE) Security Group Running Task Running Task Running Task Isolates in the Cloud 9
The Pieces Cluster Isolates in the Cloud 10
The Pieces Container Image External Client APL Code & Data Cluster Service (scalable) Task Definition Subnet Capacity Provider (FARGATE) Security Group Running Task Running Task Running Task Isolates in the Cloud 11
Task Definition Warning: ChatGPT does *NOT* know how to do this But Norbert Jurkiewicz does Thanks Norbert! Isolates in the Cloud 12
The Pieces Container Image External Client APL Code & Data Cluster Service (scalable) Task Definition Subnet Capacity Provider (FARGATE) Security Group Running Task Running Task Running Task Isolates in the Cloud 14
The Pieces Service (scalable) r CreateService(cluster service task);net [1] --- Create a Service --- [2] net '--network-configuration "awsvpcConfiguration={subnets=[subnet-cccceda5], securityGroups=[sg-0c32ce61],assignPublicIp=ENABLED}"' Don't ask [3] r AwsCmd 'ecs create-service --cluster ',cluster, ' --service-name ',service, ' --task-definition ',task, ' --desired-count 0 --launch-type FARGATE ',net Isolates in the Cloud 15
The Pieces Container Image External Client APL Code & Data Cluster Service (scalable) Task Definition Subnet Capacity Provider (FARGATE) Security Group Running Task Running Task Running Task Isolates in the Cloud 16
The Pieces Container Image External Client APL Code & Data Cluster Service (scalable) Task Definition Subnet Capacity Provider (FARGATE) Security Group Running Task Running Task Running Task Isolates in the Cloud 17
The Pieces Container Image External Client APL Code & Data Cluster Service (scalable) Task Definition Subnet Capacity Provider (FARGATE) Security Group Running Task Running Task Running Task Isolates in the Cloud 19
All that remains is to launch the tasks z AwsCmd 'ecs update-service --cluster ',cluster,' --service ',service,' --desired-count ', n Capacity Provider (FARGATE) Running Task Running Task Running Task Isolates in the Cloud 20
Let's go Isolates in the Cloud 21
The Pieces Container Image External Client APL Code & Data Cluster Service (scalable) Task Definition Subnet Capacity Provider (FARGATE) Security Group Running Task Running Task Running Task Isolates in the Cloud 23