AWS EC2 instance
To deploy UI Bakery to an AWS EC2 instance, follow these steps:
Open AWS Management Console and select Services - EC2 (Virtual Servers in the Cloud).
Select
Network & Security-Security Groups. ClickCreate security groupbutton in the top right corner.Input
BakeryinSecurity group nameandBakery security groupinDescription.In block
Inbound rules,clickAdd rulebutton. SelectCustom TCPin theType, input {BakeryPort} (use 3030 by default, you will need to select the same port during UI Bakery installation later) in thePort rangeand selectAnywhere-IPv4in theSource.In block
Inbound rulesclickAdd rulebutton. SelectSSHin theTypeand selectAnywhere-IPv4in theSource.Click
Create security group.Select
Network & Security-Key Pairs. ClickCreate key pairsbutton in the top right corner.Input
BakeryinName. SelectRCAinKey pair type. Select.peminPrivate key file format, if you will be connecting to the VM using OpenSSH, or select.ppkinPrivate key file format, if you will be connecting to the VM using Putty.Save the key file to the disk of the local machine.
Select
Instances-Instance Types. Selectt2.mediumin theInstance typeslist. ClickAction-Launch instancebutton in the top right corner.Input 'Bakery' in
Name.Select an image of
Ubuntu Server 18.04or higher in theApplication and OS Images (Amazon Machine Image).Select 'Bakery' in
Key pair (login)-Key pair name - required.Select 'Bakery' in
Network settings-Select existing security group-Common security groups.Input 20 GiB in
Configure storage-1x.Click
Launch instancebutton in the bottom right corner.After creating and running the virtual machine, connect to it from outside (OpenSSH or Putty) using SSH protocol (use the previously saved key file).
Run this command preferably from the
/homeLinux directory to download, install and launch UI Bakery:curl -k -L -o install.sh https://raw.githubusercontent.com/uibakery/self-hosted/main/install.sh && bash ./install.shUpon request, enter the previously received license code, hosting URL - Public IPv4 address AWS EC2 Instance, and port ({BakeryPort} which you selected in the earlier steps 3030 by default).
After the installation is completed and launched, enter the bakery from a browser on your local machine at http://{Public IPv4 address AWS EC2 Instance}:{BakeryPort}.
Last updated
Was this helpful?