Loading...

This guide outlines the steps that you must follow in order to spin up instances pre-loaded Fantastico F3 on AWS and GCP. We will expand this guide to cover other major cloud service providers in due course.

If you need a more flexible method or a customizable script, please have a look at our open-sourced Ansible playbook.


AWS

Spin-up an instance using the CLI method

$ aws ec2 run-instances                                \
    --count 1                                          \
    --image-id ami-c97101a6                            \
    --instance-type t2.micro                           \
    --key-name {{key-name}}                            \
    --placement AvailabilityZone={{availability-zone}} \
    --profile {{profile}}                              \
    --region {{region}}                                \
    --security-groups {{security-groups}}

Spin-up an instance using the GUI method

  • Go to EC2 Management Console -> Instances -> Instances
  • Click Launch Instance
  • Search ami-c97101a6
  • Click Select
  • Choose an Instance Type
  • Click Next: Configure Instance Details
  • Configure Instance Details
  • Click Next: Add Storage
  • Add Storage
  • Click Next: Add Tags
  • Add Tags
  • Click Next: Configure Security Group
  • Configure Security Group
    • (see Notes below)
  • Click Review and Launch
  • Click Launch
  • Select an existing key pair or create a new key pair
  • Click Launch Instances

Post-install Configuration

  • sudo vim /etc/apache2/sites-available/000-default.conf
    • Replace all occurrences of 0.0.0.0 with the public IP address of the newly created instance
  • sudo vim /var/netenberg/fantastico_f3/sources/options/users.txt
    • Replace all occurrences of 0.0.0.0 with the public IP address of the newly created instance
  • sudo service apache2 restart
  • Add a new crontab entry
    • 0 * * * * cd /var/netenberg/fantastico_f3/sources && /usr/bin/php index.php crontab
  • Open the following URLs in your browser
    • http://{{public IP address of the newly created instance}}:8001: The administrators panel
      • Username: root
      • Password: root
        • Reference: /etc/apache2/sites-available/000-default.conf.administrators
    • http://{{public IP address of the newly created instance}}:8002: The visitors panel
      • Username: ubuntu
      • Password: ubuntu
        • Reference: /etc/apache2/sites-available/000-default.conf.visitors

GCP

Spin-up an instance using the CLI method

$ gcloud compute instances create {{name}} \
    --image fantastico-f3                  \
    --image-project fantastico-f3          \
    --tags http-server,https-server        \
    --zone {{zone}}

Spin-up an instance using the GUI method

  • Go to Google Cloud Platform -> Compute -> Compute Engine -> Images
  • Search fantastico-f3
  • Click fantastico-f3
  • Click Create Instance
  • Populate the form shown on the screen
    • Check Allow HTTP traffic
    • Check Allow HTTPS traffic

Post-install Configuration

  • sudo vim /etc/apache2/sites-available/000-default.conf
    • Replace all occurrences of 0.0.0.0 with the public IP address of the newly created instance
  • sudo vim /var/netenberg/fantastico_f3/sources/options/users.txt
    • Replace all occurrences of 0.0.0.0 with the public IP address of the newly created instance
  • sudo service apache2 restart
  • Add a new crontab entry
    • 0 * * * * cd /var/netenberg/fantastico_f3/sources && /usr/bin/php index.php crontab
  • Open the following URLs in your browser
    • http://{{public IP address of the newly created instance}}:8001: The administrators panel
      • Username: root
      • Password: root
        • Reference: /etc/apache2/sites-available/000-default.conf.administrators
    • http://{{public IP address of the newly created instance}}:8002: The visitors panel
      • Username: ubuntu
      • Password: ubuntu
        • Reference: /etc/apache2/sites-available/000-default.conf.visitors

Notes

The following ports need to be open at all times:

  • 22 (optional)
    • For SSH
  • 80 (mandatory)
    • For HTTP
  • 443 (optional)
    • For HTTPS
  • 8001 (mandatory)
    • For Fantastico F3 Administrators Panel
  • 8002 (mandatory)
    • For Fantastico F3 Visitors Panel
  • 11371 (optional)
August 28, 2020 — Starting with Fantastico F3 v4.7 released today, bloggers are offered an optional selection of 42 themely.com themes to choose from with every new WordPress installation. Try it now by opening your Fantastico F3, going to WordPress new installation and clicking on "Install a Themely theme"
See which is the most
up-to-date autoinstaller