Using Alfresco on Amazon Web Services

Why installing Alfresco on Amazon Web Services?

Alfresco is an open source enterprise content management system that allows global organizations to collaborate more effectively across cloud, mobile, hybrid, and on-premise environments. Alfresco on Amazon Web Services allows you to perform document, web, records, and image management and to create collaborative content development environments in the cloud without any local infrastructure at all.

Alfresco comes in three flavors:

  1. Alfresco Community Edition – the free, open source edition.
  2. Alfresco Enterprise Edition – commercial and proprietary licensed open source and enterprise scale version. Supports clustering which allows scaling and high availability.
  3. Alfresco Cloud Edition – SaaS version of Alfresco.

It also supports integration with other tools:

  • Desktop Integration: Microsoft Office, OpenOffice.org, LibreOffice
  • Online Integration: Google Docs
  • Authentication Support: NTLM, LDAP, Kerberos, CAS
  • Database Support: MySQL, PostgreSQL, Oracle, Microsoft SQL Server, IBM DB2
  • Repository Access: CIFS/SMB, FTP, WebDAV, NFS

Apart from the above integrations, Alfresco can also play nicely with lots of third-party service providers like SAP, Salesforce, AUTOCAD, LifeRay, and MuleSoft.

In this post, we will walk you through installing Alfresco on Amazon Web Services.

Environment Details

  • Operating System: Amazon Linux
  • Ports for Alfresco: 8080, 8005, 8443, 8009, 20, 21, 50500, 7070, 8100
  • Alfresco Version: Alfresco Community 5.0.c

Prerequisites

Instance Type:
To successfully run Alfresco on Amazon Web Services, we need an instance with at least 2.0GB of RAM. Less is simply not enough to run Alfresco for either test or production purposes. However, you should preferably have at least 4.0GB of RAM. Therefore, the minimum recommended instance type on AWS is m3.medium.

Preparation Steps

As a part of preparation steps, we need to download Alfresco Community Edition on our Amazon Linux instance.

Alfresco Download Link: http://www.alfresco.com/alfresco-community-download

Use:

# wget http://dl.alfresco.com/release/community/5.0.c-build-00145/alfresco-community-5.0.c-installer-linux-x64.bin

Once the package is downloaded, modify the package’s permission so it’s executable:

# sudo chmod +x alfresco-community-5.0.c-installer-linux-x64.bin

Installation Steps

To run the Alfresco Community executable:

# sudo ./alfresco-community-5.0.c-installer-linux-x64.bin

Once the installation procedure starts, it will prompt us with a few questions:
1. Language Selection

Please select the installation language
[1] English - English
[2] French - Français
[3] Spanish - Español
[4] Italian - Italiano
[5] German - Deutsch
[6] Japanese - æ¥æ¬èª
[7] Dutch - Nederlands
[8] Russian - Ð ÑÑÑкий
[9] Simplified Chinese - ç®ä½ä¸­æ
[10] Norwegian - Norsk bokmål
[11] Brazilian Portuguese - Português Brasileiro
Please choose an option [1] : 1

2. Installation type

----------------------------------------------------------------------------
Welcome to the Alfresco Community Setup Wizard.
----------------------------------------------------------------------------
Installation Type
[1] Easy - Installs servers with the default configuration
[2] Advanced - Configures server ports and service properties.: Also choose optional components to install.
Please choose an option [1] : 2

3. Components to install

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want to install. Click Next when you are ready to continue.
Java [Y/n] :Y
PostgreSQL [Y/n] :Y
Alfresco : Y (Cannot be edited)
Solr1 [y/N] : y
Solr4 [Y/n] :Y
SharePoint [Y/n] :Y
Web Quick Start [y/N] : y
Google Docs Integration [Y/n] :Y
LibreOffice [Y/n] :Y
Is the selection above correct? [Y/n]: Y
----------------------------------------------------------------------------

4. Installation folder

----------------------------------------------------------------------------
Installation Folder
Please choose a folder to install Alfresco Community
Select a folder [/opt/alfresco-5.0.c]: /opt/alfresco
----------------------------------------------------------------------------

5. Database server parameters

----------------------------------------------------------------------------
Please enter the port of your database.
Database Server port [5432]:

6. Ports configuration

Tomcat Port Configuration
----------------------------------------------------------------------------
Please enter the Tomcat configuration parameters you wish to use.
Web Server domain: [127.0.0.1]:
Tomcat Server Port: [8080]:
Tomcat Shutdown Port: [8005]:
Tomcat SSL Port [8443]:
Tomcat AJP Port: [8009]:
Alfresco FTP Port
----------------------------------------------------------------------------
Please choose a port number to use for the integrated Alfresco FTP server.
Port: [21]:
----------------------------------------------------------------------------
Alfresco RMI Port
Please choose a port number for Alfresco to use to execute remote commands.
Port: [50500]:
----------------------------------------------------------------------------

7. Provide administrator password for Alfresco

Admin Password
Please give a password to use for the Alfresco administrator account.
Admin Password: :
Repeat Password: :
----------------------------------------------------------------------------

8. Provide SharePoint port for Alfresco

Alfresco SharePoint Port
Please choose a port number for the SharePoint protocol.
Port: [7070]:
----------------------------------------------------------------------------

9. Setting up the Alfresco Community as a service

Install as a service
You can optionally register Alfresco Community as a service. This way it will
automatically be started every time the machine is started.
Install Alfresco Community as a service? [Y/n]: Y
----------------------------------------------------------------------------

10. Setting up LibreOffice port

LibreOffice Server Port
Please enter the port that the Libreoffice Server will listen to by default.
LibreOffice Server Port [8100]:
----------------------------------------------------------------------------

11. Start Alfresco Community Installation. Alfresco is now ready for installation:

Setup is now ready to begin installing Alfresco Community on your computer.
Do you want to continue? [Y/n]: Y
----------------------------------------------------------------------------
Please wait while Setup installs Alfresco Community on your computer.
Installing
0% ______________ 50% ______________ 100%
##########################
----------------------------------------------------------------------------

12. Launch Alfresco Community Share
Once the Alfresco Community edition installation is completed, we will be advised to view a Readme file and launch Alfresco Community Share.

Setup has finished installing Alfresco Community on your computer.
View Readme File [Y/n]:n
Launch Alfresco Community Share [Y/n]: Y
waiting for server to start.... done
server started
/opt/alfresco/postgresql/scripts/ctl.sh : postgresql started at port 5432
Using CATALINA_BASE:   /opt/alfresco/tomcat
Using CATALINA_HOME:   /opt/alfresco/tomcat
Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp
Using JRE_HOME:       /opt/alfresco/java
Using CLASSPATH:       /opt/alfresco/tomcat/bin/bootstrap.jar:/opt/alfresco/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:   /opt/alfresco/tomcat/temp/catalina.pid
Tomcat started.
/opt/alfresco/tomcat/scripts/ctl.sh : tomcat started

Alfresco service initialization has started and Alfresco share will be accessible after a few minutes. It is always a good idea to view your Tomcat logs to ensure Alfresco has initialized properly. Those logs will be available at /opt/alfresco/tomcat/logs/catalina.out.

To view Alfresco share, please navigate to http://<your-public-ip-address>:8080/share.
Alfresco Community login

To quickly verify the functionality of our Alfresco share, we will log in, create a site, upload a document, and view it. Here, a site is a project area in Alfresco where we can easily share content and collaborate with other team members. In an organization, we can have multiple sites for each team. For example, a development site (for a dev team) where they can share and collaborate on all dev-related content.

To log in, provide your username and password. The default administrator username is “admin” and password is the one we provided in Step “G” above. Once logged in, we see the default dashboard:
Alfresco Share Dashboard
To create a site, click on the Sites tab on the topmost bar, and then Create Site:
Alfresco Share Create Site
We’ll also need to provide details like a site name, URL name, site description, type and visibility of site:
Alfresco Create Site
Once the site is created, the site dashboard will look like this:
Alfresco Cloud Academy Site Dashboard
Navigate to Document Library and drag and drop a document into this site:
Alfresco Upload File to Documents
Once the document is uploaded, we can view this document directly in the Alfresco document viewer:
Alfresco Document Viewer

We can also share this document with other site members. They can “like” it, comment on it, edit it offline, and download to their local systems, etc…

Alfresco on Amazon Web Services is a very powerful combination and it is used by thousands of customers all over the world running on the world’s biggest cloud computing platform. In the next post, we will discuss other considerations for running Alfresco on Amazon Web Services.

Avatar

Written by

Sanket Dangi

Head of Managed Services at REAN Cloud. Before joining REAN Cloud, I was CEO and Founder of StraightArc Solutions which was later acquired by REAN Cloud. I started my career working on cloud computing. Loves to talk about DevOps, System Administration, Scalability, High Availability, Disaster Recovery and Cloud Security. Apart from work, I love to meet people, travel and watch sports.


Related Posts

Alisha Reyes
Alisha Reyes
— December 5, 2019

New on Cloud Academy: AWS Solution Architect Lab Challenge, Azure Hands-on Labs, Foundation Certificate in Cyber Security, and Much More

Now that Thanksgiving is over and the craziness of Black Friday has died down, it's now time for the busiest season of the year. Whether you're a last-minute shopper or you already have your shopping done, the holidays bring so much more excitement than any other time of year. Since our...

Read more
  • AWS
  • AWS solution architect
  • AZ-203
  • Azure
  • cyber security
  • FCCS
  • Foundation Certificate in Cyber Security
  • Google Cloud Platform
  • Kubernetes
Avatar
Cloud Academy Team
— December 4, 2019

Understanding Enterprise Cloud Migration

What is enterprise cloud migration? Cloud migration is about moving your data, applications, and even infrastructure from your on-premises computers or infrastructure to a virtual pool of on-demand, shared resources that offer compute, storage, and network services at scale. Why d...

Read more
  • AWS
  • Azure
  • Data Migration
Wendy Dessler
Wendy Dessler
— November 27, 2019

6 Reasons Why You Should Get an AWS Certification This Year

In the past decade, the rise of cloud computing has been undeniable. Businesses of all sizes are moving their infrastructure and applications to the cloud. This is partly because the cloud allows businesses and their employees to access important information from just about anywhere. ...

Read more
  • AWS
  • Certifications
  • certified
Avatar
Andrea Colangelo
— November 26, 2019

AWS Regions and Availability Zones: The Simplest Explanation You Will Ever Find Around

The basics of AWS Regions and Availability Zones We’re going to treat this article as a sort of AWS 101 — it’ll be a quick primer on AWS Regions and Availability Zones that will be useful for understanding the basics of how AWS infrastructure is organized. We’ll define each section,...

Read more
  • AWS
Avatar
Dzenan Dzevlan
— November 20, 2019

Application Load Balancer vs. Classic Load Balancer

What is an Elastic Load Balancer? This post covers basics of what an Elastic Load Balancer is, and two of its examples: Application Load Balancers and Classic Load Balancers. For additional information — including a comparison that explains Network Load Balancers — check out our post o...

Read more
  • ALB
  • Application Load Balancer
  • AWS
  • Elastic Load Balancer
  • ELB
Albert Qian
Albert Qian
— November 13, 2019

Advantages and Disadvantages of Microservices Architecture

What are microservices? Let's start our discussion by setting a foundation of what microservices are. Microservices are a way of breaking large software projects into loosely coupled modules, which communicate with each other through simple Application Programming Interfaces (APIs). ...

Read more
  • AWS
  • Docker
  • Kubernetes
  • Microservices
Nisar Ahmad
Nisar Ahmad
— November 12, 2019

Kubernetes Services: AWS vs. Azure vs. Google Cloud

Kubernetes is a popular open-source container orchestration platform that allows us to deploy and manage multi-container applications at scale. Businesses are rapidly adopting this revolutionary technology to modernize their applications. Cloud service providers — such as Amazon Web Ser...

Read more
  • AWS
  • Azure
  • Google Cloud
  • Kubernetes
Avatar
Stuart Scott
— October 31, 2019

AWS Internet of Things (IoT): The 3 Services You Need to Know

The Internet of Things (IoT) embeds technology into any physical thing to enable never-before-seen levels of connectivity. IoT is revolutionizing industries and creating many new market opportunities. Cloud services play an important role in enabling deployment of IoT solutions that min...

Read more
  • AWS
  • AWS IoT Events
  • AWS IoT SiteWise
  • AWS IoT Things Graph
  • IoT
Avatar
Cloud Academy Team
— October 23, 2019

Which Certifications Should I Get?

As we mentioned in an earlier post, the old AWS slogan, “Cloud is the new normal” is indeed a reality today. Really, cloud has been the new normal for a while now and getting credentials has become an increasingly effective way to quickly showcase your abilities to recruiters and compan...

Read more
  • AWS
  • Azure
  • Certifications
  • Cloud Computing
  • Google Cloud Platform
Valery Calderón Briz
Valery Calderón Briz
— October 22, 2019

How to Go Serverless Like a Pro

So, no servers? Yeah, I checked and there are definitely no servers. Well...the cloud service providers do need servers to host and run the code, but we don’t have to worry about it. Which operating system to use, how and when to run the instances, the scalability, and all the arch...

Read more
  • AWS
  • Lambda
  • Serverless
Avatar
Stuart Scott
— October 16, 2019

AWS Security: Bastion Hosts, NAT instances and VPC Peering

Effective security requires close control over your data and resources. Bastion hosts, NAT instances, and VPC peering can help you secure your AWS infrastructure. Welcome to part four of my AWS Security overview. In part three, we looked at network security at the subnet level. This ti...

Read more
  • AWS
Avatar
Sudhi Seshachala
— October 9, 2019

Top 13 Amazon Virtual Private Cloud (VPC) Best Practices

Amazon Virtual Private Cloud (VPC) brings a host of advantages to the table, including static private IP addresses, Elastic Network Interfaces, secure bastion host setup, DHCP options, Advanced Network Access Control, predictable internal IP ranges, VPN connectivity, movement of interna...

Read more
  • AWS
  • best practices
  • VPC