

# Appendix A: Questionnaire for Requirements Gathering

For migrating from on-premises to Amazon EMR, Amazon Athena, and AWS Glue, this questionnaire helps you take inventory of the current architecture and the possible requirements for migration.

## Current cluster setup
<a name="appendix-a-current-cluster-setup"></a>

Review the following questions about your current cluster setup:
+ What does the current cluster look like?
+ How many nodes?
+ How much data is stored on the cluster?
+ Which distribution of Apache Hadoop and/or Apache Spark are you running on?

## Cluster use
<a name="appendix-a-cluster-use"></a>

Review the following questions about how the cluster is used:
+ How much of the cluster is being used on average, during peak, during low times?
+ How many users, what percentage of CPU and memory?
+ Where are users located? One time zone or spread globally?
+ How much of the data is being accessed regularly?
+ How much new data is added on a monthly basis?
+ What kind of data formats are the source, intermediate, and final outputs?
+ Are workloads segregated in any manner (with queues or schedulers)?

## Maintenance
<a name="appendix-a-maintenance"></a>

Review the following questions about cluster maintenance:
+ How is the cluster being administrated right now?
+ How are upgrades being done?
+ Are there separate development and production clusters?
+ Is there a backup cluster or data backup procedure?

## Use cases
<a name="appendix-a-use-cases"></a>

Review the following questions about your batch, interactive, Amazon Athena, and AWS Glue use cases.

### Batch jobs
<a name="appendix-a-batch-jobs"></a>

Review the following questions about batch jobs:
+ How many jobs per day?
+ What is the average time they run?
+ When do they usually run?
+ What types of work do the batch jobs run (machine learning, aggregation, data format translation)?
+ What frameworks or languages do the batch jobs use (Apache Spark, HiveQL)?
+ Are there service level agreements (SLAs) to downstream consumers?
+ How are jobs promoted to the batch environment?
+ How are jobs submitted to the cluster?
+ Are jobs designed to be idempotent?

### Interactive use cases
<a name="appendix-a-interactive-use-cases"></a>

Review the following questions about interactive use cases:
+ Is there interactive access to a cluster?
+ Who is using the clusters?
+ How are the clusters secured?
+ How many people are using them?
+ What tools or apps do people use to connect?
+ If using Spark, how are Spark jobs deployed and submitted?

### Amazon Athena use cases
<a name="appendix-a-athena-use-cases"></a>

Review the following questions about Amazon Athena use cases:
+ What is the query load?
+ Is Amazon Athena more appropriate for your use case?

### AWS Glue use cases
<a name="appendix-a-glue-use-cases"></a>

Review the following questions about AWS Glue use cases:
+ What load is expected on AWS Glue?
+ Is there an existing Hive Data Catalog?
+ Can the data catalog be migrated to AWS Glue?

## Configuration and dependencies
<a name="appendix-a-configuration-dependencies"></a>

Review the following questions about cluster configuration and dependencies:
+ What custom JARs, UDFs, or SerDes are deployed on the cluster, and where is the source code maintained?
+ What external systems does the cluster integrate with (JDBC sources, Kafka brokers, SFTP servers, REST APIs)?
+ What job orchestration tool manages workflow dependencies (Oozie, Airflow, Control-M, Autosys, cron)?
+ How are job dependency graphs defined, and are there cross-team or cross-pipeline dependencies?
+ Are there custom Spark listeners, accumulators, or plugins in use?
+ What Python packages are installed on gateway or edge nodes beyond the standard distribution?
+ Are there custom bootstrap or initialization scripts that run on cluster startup?
+ What shell wrappers or helper scripts are used to submit, monitor, or retry jobs?
+ Are there custom logging or monitoring integrations (Splunk forwarders, Datadog agents, Prometheus exporters)?
+ What DNS names, host aliases, or service discovery mechanisms do applications rely on?
+ Are there any proprietary connectors, licensed software components, or vendor-specific tools on the cluster?
+ What configuration management tool maintains cluster configurations (Puppet, Chef, Ansible, manual)?

## Security requirements
<a name="appendix-a-security-requirements"></a>

Review the following questions about your security requirements across authentication, authorization, network, encryption, auditing, lifecycle, and operations.

### Authentication
<a name="appendix-a-authentication"></a>

Review the following questions about authentication:
+ How do you authenticate to the cluster today (Kerberos, LDAP, SSH keys, other)?
+ Do you use a directory service, and which one (Active Directory, OpenLDAP, other)?
+ Is there a requirement for single sign-on (SSO) or federation with a corporate identity provider?
+ Do service accounts or applications authenticate to the cluster, and how (keytabs, service principals, certificates)?

### Authorization and access control
<a name="appendix-a-authorization"></a>

Review the following questions about authorization and access control:
+ Are there fine-grained access control requirements, and at what level (database, table, column, row, S3 prefix)?
+ How is read/write access restricted today (HDFS ACLs, Ranger policies, Sentry, custom mechanisms)?
+ Are users allowed to create their own databases or tables, and are there approval workflows?
+ Do different teams or users require different levels of access to the same cluster?
+ Is there a requirement to restrict which AWS resources (S3 buckets, Glue catalogs, KMS keys) each job can access?

### Network security
<a name="appendix-a-network-security"></a>

Review the following questions about network security:
+ Will the cluster run in a public or private subnet?
+ Do users need interactive access (SSH, web UIs) to the cluster, or is API-only access sufficient?
+ Are there firewall rules, network ACLs, or security group restrictions that must be replicated?
+ Is there a requirement to keep all traffic within the AWS network (VPC endpoints, no internet gateway)?

### Encryption
<a name="appendix-a-encryption"></a>

Review the following questions about encryption:
+ Is encryption at rest required, and for which storage layers (S3, EBS, instance store, HDFS)?
+ Is encryption in transit required, and between which components (node-to-node, client-to-cluster)?
+ Are there specific compliance requirements that dictate encryption standards?

### Auditing and compliance
<a name="appendix-a-auditing-compliance"></a>

Review the following questions about auditing and compliance:
+ What actions need to be audited (user logins, data access, job submissions, administrative changes)?
+ Where are audit logs stored today, and what is the retention requirement?
+ Are there regulatory or compliance frameworks that apply (HIPAA, PCI-DSS, SOC 2, GDPR, FedRAMP)?

### Patching and lifecycle
<a name="appendix-a-patching-lifecycle"></a>

Review the following questions about patching and lifecycle:
+ How frequently are clusters patched or upgraded today?
+ Are clusters long-running or transient (launched per job/workflow)?
+ Is there a requirement for a maximum time between security patches being available and applied?
+ Are there change management or approval processes for cluster upgrades?

### Operational security
<a name="appendix-a-operational-security"></a>

Review the following questions about operational security:
+ Who has administrative access to the cluster today, and how is that access controlled?
+ Is there a separation of duties requirement between cluster administrators and data users?
+ Are there requirements for termination protection or deletion safeguards on production clusters?
+ Are there requirements for isolating workloads from different teams or tenants on the same cluster?

## TCO considerations
<a name="appendix-a-tco-considerations"></a>

Review the following questions about total cost of ownership (TCO):
+ How much will the data grow over time?
+ How much will compute needs grow over time?
+ Are there network transfer costs to be aware of (during migration and after, for example cross-region replication)?
+ Is there a target date for decommissioning the existing environment?
+ What is the cost of maintaining the existing infrastructure during transition?