Moving at the Speed of Change May 2015 Taking PowerBuilder...

30
Sponsored by Powered by Moving at the Speed of Change May 2015 Charlotte PowerBuilder Conference Taking PowerBuilder to the Cloud For PowerBuilder, Appeon Web & Appeon Mobile

Transcript of Moving at the Speed of Change May 2015 Taking PowerBuilder...

Page 1: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Sponsored by Powered by

Moving at the Speed of Change May 2015

Charlotte PowerBuilder Conference

Taking PowerBuilder to

the Cloud For PowerBuilder, Appeon Web & Appeon Mobile

Page 2: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

• Email: [email protected] • Blog: http://chrispollach.blogspot.ca • PBDJ: http://chrispollach.sys-con.com • LinkedIn: http://ca.linkedin.com/in/chrispollach • SourceForge: http://sourceforge.net/projects/stdfndclass • STD: http://www.softdie.com

2 Cloudifying your PB Applications

An Actual Amazon Implementation Case Study!

By Chris Pollach – President: Software Tool & Die Inc.

Ottawa, Canada

Page 3: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

DEFINITION

Web does not equal cloud. What’s the difference?

Cloud computing refers to the delivery of computing

and storage capacity as a service to a heterogeneous

community of end-recipients.

Web application refers to an application that is accessed

over a network, and is reliant on a common Web

browser to render the application executable.

3

Page 4: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

Early adopter success story

“Microsoft Azure cloud.” Cloud

Appeon

Server

PB Code

Database

Customer 3

Customer 2

Customer 1

Page 5: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

Cloud Supported Platform Vendors

How to Choose?

•Cost

•Rapport

•Experience

•Recommendation

•Reliability

•etc

Page 6: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

6 Choosing a Data Centre?

Where are your users?

Page 7: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

FIRST THINGS FIRST

• Need a Web/Mobile deployable PB application via Appeon

• No Appeon unsupported features

• Performance optimization for WAN

• Scalability optimization for high concurrency

• Digitally sign any DLLs and OCX/OLE controls (optional)

• Proper testing locally before deployment to the cloud.

7

Page 8: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

SAAS CONSIDERATIONS

• For SaaS, you may need to make your application “multi-tenant” • Appeon’s dynamic connection cache enables this, but you will need

to do some minor code changes • Consider doing more coding to make the process scalable:

• Store the customer mappings in a system DB • Develop a tool to create “tenants” from a template DB • Check payment status and put “payment” flag in system DB

8

In the case of Airman ... Tenant = Airport

Page 9: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

INSTALL SCRIPTS ( INFRASTRUCTURE & APPLICATION )

• VM rebuilds itself on the fly when it needs to recover or update an existing instance or provision a new instance

• Appeon Server (including IIS) and Web application can be silently installed and configured (via scripting)

• Consider investing some time in developing “cloud” expertise to properly setup and deploy your system!

• Build some test EC2 instances first for prototyping your solution(s).

9

Page 10: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

• Airport Information Report Manager

• AIRMAN is a fully independent software solution designed to promote airport managers and staff from the Reactive management method to the Pro-Active method.

• Initially written in PowerBuilder v7.

• Currently a C/S application under PB v 12.5.1

10 What is Airman?

Page 11: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

Airports all over North America … for example • Toronto(YYZ) • Hamilton(YHM) • GTAA - Toronto(YYZ) • Paine Field - Wash(PAE)* • Seattle - Wash(SEA)* • Portland, Ore(PDX)* • CFB Trenton(YTR) • JFK(JFK)* • Ft. Myers, Fla(RSW)* • Calgary, Ab(YYC) • Logan Int Airport (BOS) • Tinker AFB (TIK)

11 Who uses AIRMAN & Why?

Modules (example): • Wildlife Management • System Administration • Pest & Spray Management • Air Operations Management • Equipment Management • Risk Analysis • Hazard Assessment • Mobility / Synchronization • FAA Reports ...

Page 12: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

• Large airports have their own robust IT infrastructure. Medium sized airports do not have experienced IT staff!

• Small airports have little or no IT infrastructure! • Many airports do not have exterior WiFi! • Airman Mobile application was developed with PocketBuilder (now

EOL). Airports need a replacement! • Growing need to integrate other solutions like Google Maps. • Acceptance of using Smart Phones & Tablets!

12 Business Problem / Opportunity?

Solution: Go CLOUD & Webify/Mobilize with Appeon!

Page 13: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

13 http://aws.amazon.com

Greg Winfield -

President

www.volairus.com

Chose AMAZON.

Page 14: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

14 Building a VM

Page 15: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

15 Building a VM

Page 16: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

16 Right Sizing your VM

Wizard

Page 17: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

• Note that even when an EC2 instance is recycled (Restart), AWS will assign a new IP address!

• An Elastic IP address (EIP) is a static IP address designed for dynamic cloud computing. With an EIP, you can mask the failure of an instance or software by rapidly remapping the address to another instance in your account.

• Your EIP is associated with your AWS account, not a particular instance, and it remains associated with your account until you choose to explicitly release it.

17 Get an Elastic IP Address!

Page 18: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

18 EC2 Dashboard

Page 19: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

19 Get a PEM Login

A .pem file will be used to

retrieve the initial

administrator password for

remote desktop connection.

You only need to generate a

key pair once!

Page 20: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

20 Uploading PB, DBMS & Appeon

Page 21: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

21 Upload Alternative!

EC2

Instance Developer

PC

Chris’ Pick!

Chose this route for Airman!

Page 22: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

22 Remote Desktop into your EC2!

Public IP

Address

assigned by

AWS to your

instance

Page 23: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

23 Drop any MS-Windows Firewalls!

EC2 already has

firewalled your VM

instance!

If you also leave the

MS-Windows

firewall active - you

may not be able to

FTP or run your

PB/Appeon

applications!

Page 24: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

24 Deploying Airman to the Cloud

FTP your

deployment

packages to

your EC2

Instance!

Page 25: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

25 Google Map Support Built into Appeon

Page 26: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

26 Field Testing – Ottawa Airport

Page 27: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

27 Fault Tolerance & Load Balancing?

Page 28: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

Moving Forward…

On Going

• Monitor your EC2 Instance (memory, CPU, disc, etc.)

• Continue to refactor your PB / Appeon applications

• Fine tune your Appeon applications (AEM settings)

• Backup/Recovery • Etc.

Future

• Plan for more Tenants • Think about more EC2 Instances • Add load balancing & failover • Locate EC2 nearer your clients. • Plan for software upgrades • Plan for O/S upgrades • Etc.

28

Page 29: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

Questions?

29 Q&A Session

Page 30: Moving at the Speed of Change May 2015 Taking PowerBuilder ...powerbuilder-world-tour.com/download/NCPBUG... · Powered by Sponsored by Moving at the Speed of Change May 2015 Charlotte

Charlotte PowerBuilder Conference Moving at the Speed of Change May 2015

Have you hugged your DataWindow today? 30