BTP HANA Cloud Part 1: What SAP HANA Cloud Is
Free sample lesson · open to everyone
SAP HANA Cloud is SAP's fully managed database as a service: in-memory HANA database with native storage extension and data lake options, multi-model capabilities (spatial, graph, JSON), HDI containers for app development, and elastic sizing — the persistence layer for CAP apps and many BTP scenarios.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A retail company extending S/4HANA with a CAP app needed persistence for custom data. HANA Cloud with HDI containers per app kept data isolated and deployed with each MTA release.
Explanation
This series covers SAP HANA Cloud across three parts: this first part explains what it is; part 2 covers provisioning, connectivity and security; and part 3 goes deeper into connectivity, security and user management. HANA Cloud is a managed HANA database running on BTP, so there's no operating system or hardware to manage directly.
It supports data tiering across several layers: in-memory for hot data, native storage extension for warm data kept on disk, and a data lake for genuinely large volumes. It's also multi-model, supporting relational, spatial, graph and JSON document data, not just traditional tables.
Applications typically access their own data through HDI containers — isolated schemas that are deployed together with the application itself.
The most common cost driver with HANA Cloud is oversizing memory up front; the better approach is to size the instance to the real data in use and grow it later if needed, rather than guessing high from the start. It's worth starting small in development and using the stop/start feature on non-production instances, where it's available, to save cost when they're not in use. One security habit to avoid from the start is using the DBADMIN user for application access, since that carries a major security risk.
A reasonable first exercise is to create a HANA Cloud instance for trial or development use, create an HDI container through a CAP deploy, and then query the resulting data in the database explorer. The checkpoint is seeing the application's own tables inside that HDI container.
Expert visual walkthrough
SAP HANA Cloud components
HANA Cloud · Chapter-specific technical teaching map
Architecture hierarchy
BTP subscription
HANA Cloud instance
Database users & roles
App / analytics client
Tutor's chapter takeaway
SAP HANA Cloud is SAP's fully managed database as a service: in-memory HANA database with native storage extension and data lake options, multi-model capabilities (spatial, graph, JSON), HDI containers for app development, and elastic sizing — the persistence layer for…
In a real project
A retail company extending S/4HANA with a CAP app needed persistence for custom data. HANA Cloud with HDI containers per app kept data isolated and deployed with each MTA release.
Watch out for
• Oversizing memory. • DBADMIN for apps. • Shared schemas. • Ignoring tiering. • Running dev 24/7.
Code example
===== TOOLS =====SAP HANA Cloud Central (provisioning, monitoring) | SAP HANA database explorer (SQL, HDI containers) // Cloud Central manages the instance lifecycle; database explorer is for querying data and inspecting schemas ===== CAP PERSISTENCE =====cds add hana → mta.yaml resource type com.sap.xs.hdi-container → cf deploy → tables in HDI container // cds add hana switches the CAP project's persistence layer from SQLite to HANA; the HDI container isolates the app's schema/objectsWatch out
Common mistakes
- Oversizing memory.
- DBADMIN for apps.
- Shared schemas.
- Ignoring tiering.
- Running dev 24/7.
Do this
Best practices
- Right-size.
- HDI users for apps.
- Container per app.
- Use NSE/data lake.
- Stop unused instances.
In the interview
Interview angle
Questions: "What is HANA Cloud?", "What is an HDI container?", "How do you control cost?"
Strong answer: managed DB, tiering, multi-model, HDI, sizing.
Practice this lesson
Quick check
0 of 3 questions attempted
Question 1 of 3
What is SAP HANA Cloud?
Question 2 of 3
A CAP app needs isolated persistence deployed with each release. What is typically used?
Question 3 of 3
Interviewers often probe whether a candidate understands that HANA Cloud is a distinct, separately provisioned service from the HANA database inside S/4HANA, and why clean-core architectures push custom persistence to BTP. In the HANA Cloud context, which answer shows the strongest practical judgment?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1What are the core concepts of HANA Cloud, and how would you explain them clearly in an SAP interview?
2A retailer extending S/4HANA with CAP apps asks what SAP HANA Cloud offers and how apps should store data.
See it in code
Each example starts from a requirement, shows the design, then the code step by step with a plain-language explanation of every part.
Was this lesson helpful?
Keep exploring
Interview questions on this topic
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.