ITB 2023 - Create as many web sites or web apps as you want - George Murphy.pdf

ortussolutions 16 views 14 slides Aug 30, 2024
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

We will look at how to spin up an ec2 powered site in CommandBox Pro using an AWS Marketplace AMI powered with Lucee. Brad Wood and the Ortus Team have developed the ability to spin up context sites in CommandBox. What does that mean. It means that you can have as many separate independent sites ...


Slide Content

Commandbox Pro
Preview

HELLO!
I am George Murphy
I am here because I love to give
presentations about technology.
You can find me at @murpg
3

What are we covering today?
▰How to build Commandbox Pro in the AWS Cloud
▰Creating multiple sites with one instance of CBPro
▰Looking at Undertow server rules
▰What is in the pipeline for CBPro
▰How to build CBPro with an AWS load balancer
4

What we are not covering today?
▰Applying SSL certificates
▰Running clusters
▰Docker instances of CBpro
▰Using AWS Route 53
▰Running in Terraform Cloud
5

Commandbox Pro in the AWS Cloud
The goal of CommandBox Pro Multi-Server is to provide Enterprise web server
capabilities that extend past a single instance and make CommandBox suitable for a
drop-in replacement for IIS/Apache/Nginx.
6

Creating multiple sites with one instance of CBPro
CommandBox already supports most of the needed features, it’s just a matter of
allowing each site to have its own virtual directories, its own server rules.
7

Looking at Undertow server rules
equals( %{LOCAL_SERVER_NAME}, 'website2.com' ) -> set(attribute=%{i,X-Tomcat-DocRoot},value='/var/www/website2.com’)
not regex( value=%{LOCAL_SERVER_NAME}, pattern='^website[2]\.com$', case-sensitive=false ) -> set-error(401)
8

Roadmap?
▰Configuration GUI for managing sites
▰CLI-based dashboard of servers
▰Load balancing functionality
▰Runtime configuration changes
▰WAF (Web Application Firewall) utility
▰Metrics beat
9

How to build CBProwith an AWS load balancer
▰Terraform CLI (1.3.0+) installed
▰AWS account that allows you to create resources
▰AMI Image ID for Lucee
10

EXTRA RESOURCES
https://github.com/murpg/AWS-Terraform-Lucee-with-LB
https://commandbox.ortusbooks.com/
https://aws.amazon.com/marketplace/pp/prodview-fytenv43542zu

CREDITS
Special thanks to all the people at
Ortus Solutions who made and released these
awesome resources for free:
▰All the sponsors of ITB 2023
12

13

14
THANKS!
Any questions?
You can find me at
▰@murpg