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 of 14
1
2
3
4
5
6
7
8
9
10
11
12
13
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 ...
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 as you want running with all of the bells and whistles available on AWS.
Size: 3.01 MB
Language: en
Added: Aug 30, 2024
Slides: 14 pages
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
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