Configuration steps to take after the website is installed.
- Create Admin
- May not be needed if LDAP is set up to allow certain groups to come through.
- If the LDAP server and connection is set up, it can allow certain groups to be auto-added as administrators.
- Requires SSH access to the EC2 instance
- Set Manager Group
- This is different from the Admin, as it designates a "manager user" and not the site administrator.
- This can also be set through a parameter in the MLiy Website Cloudformation template.
- Admin Terminal Commands
- Django provides many commands to do database and setup actions
- We provide some custom commands to sync the database's Cloudformation templates with what's on S3.
Before you are able to launch and start using MLiy instances, you will need to create and register (see Prerequisites) some AWS resources. Logon to MLiy Admin console using the URL https://dns_entry_for_mliy_with_ssl_cert/admin. You will see a screen similar to the following:
Set up instance, EMR, and user configurations through the built-in Django Admin console. These are ordered in a way that reduces backtracking between dependencies.
- User
- Group
- Security Groups
- Instance Types
- Group Config
- Parameters
- Software Config
- EMR: Granting Access
- EMR: Setting Parameters
- EMR: Software Config
We provide some sample resources so that they don't have to be made from scratch.
MLiy instances and clusters include a iPython custom magic, MliyMagic, which can be used to deploy application jars or zips to Spark classpath in all already running EMR nodes. The library uses AWS Systems Manager Run Command to remotely and securely manage the configuration of your managed instances. The EC2 Instance profile (IAM Role) used to launch the MLiy instance and cluster must be able to invoke SSM Documents and read the specified library file in S3 bucket.
Additional information about administrering the django site, including the user auth module can be found at
https://docs.djangoproject.com/en/2.1/ref/contrib/admin/
and on the MLiy site at the relative url
/admin/doc