Aurora vs MySQL

Unless you need a very simple and small database, Aurora is likely the better choice over MySQL when using AWS, for these reasons: Aurora is compatible with MySQL.  This means your existing code and MySQL tools will all likely just work with it as if it is MySQL. MySQL may be slightly cheaper / run on […]

Read More

RDS Security

A RDS instance will typically be created in a VPC. Security groups provide access to the DB instance in the VPC. They act as a firewall for the associated DB instance, controlling both inbound and outbound traffic at the instance level. DB instances are created by default with a firewall and a default security group […]

Read More

.Create New Aurora RDS

Create the new Aurora RDS Instance RDS Dashboard If necessary select your region Instances > Launch DB Instance Go through and select your desired set up. Database Options > Database name: Give the name for your database (if you don't you'll need to add a database later to your instance using a MySQL tool of […]

Read More

RDS With Elastic Beanstalk

Create A RDS Within Elastic Beanstalk or Separately? You can create a RDS within an environment using Elastic Beanstalk, however: Once added to an environment it can't be removed. It will be tied to the lifecycle of your environment, so will be lost if the environment is closed. For a production environment its often better to […]

Read More

Set Up A PHP Environment

Set up a new PHP environment Open the Elastic Beanstalk console. You can see any existing application environments you have already set up. Select 'Create New Application' Name your applciation an then decide if its to be a web server or worker environment Select Predefined Configuration: PHP N.B. If you don't want the default PHP […]

Read More

.Elastic Beanstalk Basics

Elastic Beanstalk simplifies deploying and managing applications in the AWS Cloud without needing to worry about the infrastructure that runs those applications. It automatically handles the details of capacity provisioning, load balancing, scaling, and application health monitoring for your uploaded application.  It is free to use, however the services it deploys to run your application are […]

Read More

Blank page until its loaded

Put this near the top of the head section <!– CAUSE PAGE TO FADE IN ONCE LOADED – 1ST PART –> <style> body { display: none; } </style> <!– LOAD JQUERY LIBRARIES –> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script> <!–Should be first script imported/first script on the page–> <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/smoothness/jquery-ui.css" type="text/css" media="all" /> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js" type="text/javascript"></script> Put […]

Read More

Do not cache page

  <?php //SET PAGE TO NOT BE CACHED header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1. header("Pragma: no-cache"); // HTTP 1.0. header("Expires: 0"); // Proxies    

Read More

File upload forms

SEE ALSO PHP PAGE ON FILE UPLOADS: https://ibex.tech/cloud/php/forms/post-file-uploads Including 1 or more files to be uploaded in a form The data encoding type enctype MUST be specified as “multipart/form-data”: You can include one or more files like this: Handling in PHP

Read More