Download ebooks file Beginning postgresql on the cloud: simplifying database as a service on cloud p

Page 1


Visit to download the full and correct content document: https://textbookfull.com/product/beginning-postgresql-on-the-cloud-simplifying-databa se-as-a-service-on-cloud-platforms-baji-shaik/

More products digital (pdf, epub, mobi) instant download maybe you interests ...

Procedural Programming with PostgreSQL PL/pgSQL: Design Complex Database-Centric Applications with PL/pgSQL 1st Edition Baji Shaik

https://textbookfull.com/product/procedural-programming-withpostgresql-pl-pgsql-design-complex-database-centric-applicationswith-pl-pgsql-1st-edition-baji-shaik/

Cloud as a Service Understanding the Service Innovation Ecosystem 1st Edition Enrique Castro-Leon

https://textbookfull.com/product/cloud-as-a-serviceunderstanding-the-service-innovation-ecosystem-1st-editionenrique-castro-leon/

The Cloud DBA-Oracle : Managing Oracle Database in the Cloud 1st Edition Abhinivesh Jain

https://textbookfull.com/product/the-cloud-dba-oracle-managingoracle-database-in-the-cloud-1st-edition-abhinivesh-jain/

Designing Cloud Data Platforms 1st Edition Danil Zburivsky

https://textbookfull.com/product/designing-cloud-dataplatforms-1st-edition-danil-zburivsky/

Federal Cloud Computing The Definitive Guide for Cloud Service Providers 2nd Edition Matthew Metheny

https://textbookfull.com/product/federal-cloud-computing-thedefinitive-guide-for-cloud-service-providers-2nd-edition-matthewmetheny/

Cloud Native Apps on Google Cloud Platform Use

Serverless Microservices and Containers to Rapidly

Build and Deploy Apps on Google Cloud English Edition Gilchrist

https://textbookfull.com/product/cloud-native-apps-on-googlecloud-platform-use-serverless-microservices-and-containers-torapidly-build-and-deploy-apps-on-google-cloud-english-editiongilchrist/

Engineering Software as a Service An Agile Approach Using Cloud Computing First Edition, 1.2.1 Edition Fox

https://textbookfull.com/product/engineering-software-as-aservice-an-agile-approach-using-cloud-computing-firstedition-1-2-1-edition-fox/

Zen of Cloud Learning Cloud Computing by Examples on Microsoft Azure 1st Edition Bai

https://textbookfull.com/product/zen-of-cloud-learning-cloudcomputing-by-examples-on-microsoft-azure-1st-edition-bai/

Designing Cloud Data Platforms 1st Edition Danil Zburivsky Lynda Partner

https://textbookfull.com/product/designing-cloud-dataplatforms-1st-edition-danil-zburivsky-lynda-partner/

Beginning PostgreSQL on the Cloud

Simplifying Database as a Service on Cloud Platforms

Baji Shaik
Avinash Vallarapu

Beginning PostgreSQL on the Cloud

Simplifying Database as a Service on Cloud Platforms

Baji Shaik
Avinash Vallarapu

Beginning PostgreSQL on the Cloud

Baji Shaik

Hyderabad, Andhra Pradesh, India

ISBN-13 (pbk): 978-1-4842-3446-4

https://doi.org/10.1007/978-1-4842-3447-1

Library of Congress Control Number: 2018937882

Avinash Vallarapu Hyderabad, Andhra Pradesh, India

ISBN-13 (electronic): 978-1-4842-3447-1

Copyright © 2018 by Baji Shaik, Avinash Vallarapu

This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.

Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark.

The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.

While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.

Managing Director, Apress Media LLC: Welmoed Spahr

Acquisitions Editor: Nikhil Karkal

Development Editor:Matthew Moodie

Coordinating Editor: Divya Modi

Cover designed by eStudioCalamar.

Cover image by Freepik (www.freepik.com)

Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

For information on translations, please e-mail rights@apress.com, or visit http://www.apress. com/rights-permissions.

Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales web page at http://www.apress.com/bulk-sales.

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the book's product page, located at www.apress.com/978-1-4842-3446-4. For more detailed information, please visit http://www.apress.com/source-code.

Printed on acid-free paper

“Dedicated to our be-loved parents and family”

About the Authors

Baji Shaik is a database administrator and developer, working as a senior database consultant at OpenSCG, Hyderabad, India. He was introduced to databases in 2011 and over the years, has worked with Oracle, PostgreSQL, and Greenplum. He has a wide range of expertise and experience in SQL/NoSQL databases and has developed many successful database solutions addressing challenging business requirements. He has been working with a database service in Predix cloud from GE, where he continuously supports databases in automation and helps in developing features, fixing and testing defects of the service. Baji has organized a number of PostgreSQL meet-ups and maintains his own technical blog at bajispostgres.blogspot.in, where he likes to share his knowledge with the community. He co-authored PostgreSQL Development Essentials, released in September 2016.

Avinash Vallarapu works as a database architect/trainer for one of PostgreSQL’s parent companies—OpenSCG. He has over 11 years of experience in various database technologies such as Oracle, PostgreSQL, MySQL, MariaDB, and MongoDB and is an avid Python developer. He is also an author of pgPulse that enables features like AWR and Snapshotting on PostgreSQL 9.2 and above. He has been a speaker at a number of PostgreSQL conferences and meet-ups and holds expertise in migrations from Oracle to PostgreSQL and cloud deployments of PostgreSQL. He holds vast experience in performing architectural health checks of PostgreSQL and MySQL environments for customers across the globe. Apart from being an expert with databases, Avinash has won several hackathons. His interest toward simplifying complex issues using automation makes him a unique addition to the Open Source community.

abouT The auThors

About the Technical Reviewer

Jobin Augustine is an industry expert in database systems, with more than 16 years of experience. He has technical expertise in handling the planning, development, and set up of large infrastructure setups and is an expert in consolidation environments. His experience is with a variety of database systems, including PostgreSQL, Oracle, MySQL, PostgreSQL, SQL Server, and MongoDB. He developed award-winning tools and automations ranging from plugins, scripts, and self-service portals for DBAs and developers (DevOps), DBA tools, and more. He is a contributor to various Open Source projects and an advocate of Open Source. Jobin is among the top bloggers in the Postgres community. He also regularly presents at meet-ups and Postgres conferences.

Acknowledgments

From Baji Shaik: I have many people to thank, as without them, this book would not have been possible. Thanks to Apress Media for believing in this book and providing us this opportunity. Thanks to Sanchita Mandal for referring us to this book. Thanks to Avinash Vallarapu for being a wonderful co-author. Thanks to Nikhil Karkal and Divya Modi for working with us and giving us extended time in busy schedules. Thanks to my Guru, Dinesh Kumar. Thanks to Jobin Augustine for reviewing the book. And thanks to my loving parents—Lalu Saheb Shaik and Nasar Bee— because of them, I am who I am today.

From Avinash Vallarapu: A special thanks to Apress Media for believing in me and giving me the great opportunity to write this book. Nikhil Karkal and Divya Modi from Apress have been very helpful in making the process very seamless for the authors. I want to thank Baji for collaborating with me and introducing me as an author. I want to thank my wife Samhitha Garudadri for all her support during the days of writing this book. Thanks to my dad, Srinivas Vallarapu, and mom, Padmavathi, for all the encouragement. The technical discussions I had with my wife and my brother Rajesh Vallarapu helped me a lot while writing this book. Many thanks to my guru, Jobin Augustine, who also reviewed this book.

Introduction

Gone are the days where we had to use our own data centers to create our database infrastructure. We have seen a lot of progress in the cloud computing arena. We can now peacefully deploy our databases or applications on the cloud and avoid the cost and pain of managing the infrastructure. Likewise, most organizations have special projects in place to migrate their proprietary license databases to Open Source databases like PostgreSQL. Most such organizations consider it the right time to migrate to a PostgreSQL database deployed on the cloud, because doing so can save them money and effort. Thus, we knew it was time to write a book that helps users understand the advantages and limitations of all the existing cloud vendors available for deploying PostgreSQL on their platforms.

This book contains the details about the major vendors available to deploy a PostgreSQL database on the cloud. It starts with an introduction to DBaaS and IaaS and a brief description of the criteria considered by organizations when deploying databases as a service. We talk about the major concerns and issues you might come across while deploying databases on the cloud. We included steps and procedures involved in migrating from on-premise to the cloud. As this book is mainly written to address the process of deploying a PostgreSQL database on the cloud, we include a detailed architecture of PostgreSQL in one of the chapters. The architecture of PostgreSQL should help you understand most of the parameters that are needed to better tune your PostgreSQL environment.

The main part of the book is a beginner’s guide to deploying PostgreSQL as a service on Amazon Web Services, Microsoft Azure, the Google cloud platform, and the Rackspace cloud platform. You will read an introduction to the services offered by each of these vendors for PostgreSQL, along with the steps to create your first PostgreSQL instance in a production environment. This book focuses on helping novice PostgreSQL users deploy a production PostgreSQL database as a service on any of these cloud vendors.

The book covers major aspects of this process—such as security, high availability, encryption, replication, monitoring, and connection pooling. All these topics are discussed about every cloud vendor, along with the services each of these vendors offers to satisfy the requirements.

CHAPTER 1 Introduction to  Databases in the  Cloud

This chapter is an overview of databases as a service (DBaaS) and their benefits. We also talk about the key things to be considered when choosing a service provider, including how to implement it on PostgreSQL using popular cloud vendors. The chapter also discusses the pros and cons of on-premise and cloud databases. We discuss all the cloud vendors available for PostgreSQL and explain how PostgreSQL is different from the other databases in the cloud.

What Is Database as a Service?

DBaaS is a service that delivers a powerful on-demand database platform to provide an efficient way to satisfy all the needs of an organization. DBaaS enables DBAs to deliver database functionality as a service to their customers. This service eliminates the need to deploy, manage, and maintain on-premise hardware and software on a database or on a software stack, in the case of IaaS. It allows businesses to concentrate more on the application without worrying about the complexities of database administration and management.

© Baji Shaik, Avinash Vallarapu 2018

B. Shaik and A. Vallarapu, Beginning PostgreSQL on the Cloud, https://doi.org/10.1007/978-1-4842-3447-1_1

DBaaS can simplify the deployment of your development and testing environments during the software development and testing phases. Maintaining a production environment with a failover mechanism and load balancing adds overhead to any organization. DBaaS can help you meet these requirements through self-service portals that manage load balancing and failover.

DBaaS helps deliver production and non-production database services with an architecture that is designed for elasticity and resource pooling. DBaaS also enables businesses to effectively use their resources for everyday DBA work. By consuming DBaaS, you can easily avoid the costs and possible delays in setting up and maintaining an infrastructure. This enables applications to be deployed to the database with no CapEx for hardware and software, and only OpEx for the database service. Most of the tools and automations are embedded as services by several cloud vendors.

The elasticity of DaaS services helps you avoid investing in capacity and resources in advance. DBaaS enables you upgrade resources and capacity as needed in the future through on-demand and self-provisioning portals. Monitoring solutions are nearly free for managing the logical infrastructure maintained as a service. DBaaS also avoids costs associated with maintaining the infrastructure and training in-house expertise. Having more visibility to the performance and diagnostic data helps you upgrade or downsize the service and thus have rightsized resources. Metrics collected through various solutions by the vendors are helpful in forecasting the business. DBaaS also brings improved availability through several monitoring solutions and high availability solutions implemented by the vendors.

Who Should Use DBaaS?

DBaaS has no limitation on the type of business and the size or volume of the business it can serve well. There are a number of companies using DBaaS that manage several thousands of transactions per second and have

terabytes of data. Start-up companies as well as multinational companies use DBaaS as their choice of database platform. DBaaS has been the right choice for numerous small and medium sized businesses.

What Database Platform Does an  Organization Need?

Organizations need a platform that achieves the following requirements:

• A secured database

• Fast performance

• Reliable, redundant, and durable

• Geographically distributed and independent

• No single point of failures

• Can be integrated into their existing systems

• Help globally distributed teams and collaborate

Let’s discuss these needs in detail.

Secured Database Environment

DBaaS helps protect databases against data theft, confidentiality, integrity, and unauthorized or unintended activity, and misuse by hackers or unauthorized users. DBaaS enables you to configure a database environment that avoids leakage or disclose of personal or confidential data. This is an important aspect in maintaining a secure database. DBaaS helps administrators create users with limited or the appropriate set of roles and privileges so that no resource is overallocated with more destructive privileges. One of the important aspects of maintaining a secured database environment is encryption. Businesses consider it as a must to encrypt the data in motion and data at rest. Chapter 1

Chapter 1 IntroduCtIon to databases In the Cloud

DBaaS helps businesses achieve this through various solutions, such as Secure Socket Layer (SSL) communication and encrypted storage volumes. Practical implementation of these features is discussed in the forthcoming chapters.

Fast-Performing Database

How can I make my database perform better? This is one of the concerns raised by businesses while subscribing to DBaaS. Consider the database software—PostgreSQL. PostgreSQL requires several sets of important parameters to be tuned in advance to achieve a fast performing database. Parameters such as shared_buffers, work_mem, and autovacuum settings should be tuned in advance during the provisioning stage.

DBaaS provided by most vendors simplifies this requirement by tuning these settings automatically during the provisioning stage. Vendors use several algorithms based on existing instances and several benchmarks done by experts. This allows administrators or developers to self-provision an instance without worrying about tuning the database parameters. DBaaS vendors allow users to choose a disk that performs better starting from a raw hard disk to SSD and better.

Reliable, Redundant, Durable Database

Database reliability is a serious concern. PostgreSQL, or any database software solution for that matter, is often deployed on hardware. It is the hardware that can cause reliability issues. For example, faulty RAM or a bad hard disk can result in reliability issues, as they can bring down a database or cause performance issues and downtime. Such issues are avoided in an infrastructure by continuous monitoring by DBAs or admins. The only applicable solution in such situations is to purchase new hardware. DBaaS and deployments on the cloud take care of this issue by eliminating the need to monitor the hardware and avoid the efforts and cost involved in replacing faulty hardware. Vendors provide efficient ways

to back up databases, create replication instances, and back up transaction logs for databases deployed on the cloud.

For a production database, one of the important challenges is being able to recover a database to a certain point in time during disasters. Vendors that provide DBaaS take care of this requirement and make it easy for users. It is a UI and requires a few clicks to perform PITR during disasters, which makes it more redundant and durable.

Geographically Distributed and Independent

Gone are the days when infrastructures were designed for vertical scaling. New generation techniques involve horizontal scaling and horizontal computing. What does horizontal scaling mean for database systems? It is all about slicing and dicing data across multiple machines horizontally to scale out.

When your users are distributed across the world globally and the applications are being accessed by users from various locations and countries, you must build infrastructures in several distributed regions. Building such environments is expensive but can be simplified by using the services provided by cloud vendors. DBaaS allows users to deploy their databases across several regions. Most vendors provide the infrastructure on various locations distributed globally. Users or businesses can choose several database services distributed across various regions with ease.

No Single Point of Failures

In the vast topology involved in an infrastructure that consists of a web application or an application connecting to a database, there are lot of infrastructure components that can have single point of failures. For example, a router, a switch, a database server, a hard disk, RAM, or an application server can all cause failures or downtime.

Several cloud vendors enable users to configure environments that prevent single point of failures by providing sufficient redundancy/backup mechanisms. These systems are generally called high availability features. DBaaS provides APIs and options on the dashboard that help to configure database high availability.

Integrated into Existing Systems

Cloud vendors make it easy for developers and database admins to integrate their applications or environments into databases deployed using DBaaS. Most cloud vendors provide a way to deploy the DBaaS with no modifications needed on the application environment. Developers can just use the appropriate database drivers, which enable them to talk to the databases and perform their routine tasks. Moving from a database deployed on commodity hardware to a database on the cloud is no longer a tedious task. The options available for migrating and the steps involved in migrating to DBaaS are discussed in further chapters.

Help Distributed Teams Work and Collaborate

More Efficiently

Developers, admins, businesses, and testing teams work from various locations across the world. It is important to collaborate with other team members and continue structured and incremental code development. These development and testing teams should be able to deploy their code changes and test cases on development databases and revert to changes at different points in time. Most cloud vendors enable users to create snapshots of their databases. It is easy to create databases using these snapshots. This obviates the time and effort needed to involve a DBA. Chapter 1 IntroduCtIon to databases

Features of DBaaS

There are always feature-related questions about using DBaaS:

• How secured is the service?

• What level of availability does the vendor provide?

• Is it scalable?

DBaaS delivers a powerful on-demand database platform that provides an efficient way to satisfy all the needs of an organization. These features are covered in the following sections.

Provisioning

DBaaS provided by most cloud vendors enables easy provisioning mechanisms to its users like DBAs and developers.

Users are provided with on-demand provisioning and self-service portals or mechanisms that enable user friendly and rapid provisioning. Organizations can spend days provisioning a database server.

Provisioning involves the following:

• Allocating a server with the CPU, memory, and disks requested.

• Installing an operating system.

• Adding hard disks as requested.

• Partitioning the disks.

• Installing database software and any additionally requested software.

• Configuring the database instance.

• Managing host based access control.

Chapter 1 IntroduCtIon to databases In the Cloud

• Managing encryption of hard disks.

• Distributing the data directory and the transaction logs to multiple hard disks.

• Creating users with appropriate sets of privileges.

All these stages can be automated using DBaaS.

DBaaS allows users to create a database service with the appropriate number of CPUs, RAM, and hard disks in the first phase. Hardware resources can be limited to each customer and can be upgradable on demand. If the user wants to modify the server capacity to satisfy the growing transactions in the business, it is very easy to upgrade or downgrade the server resources on demand through dashboards.

Self-service portals enable users to create database services on the fly. You cannot choose the underlying operating system of the DBaaS. If you are particular about the operating system, you must choose IaaS.

For example, you get an option to choose your own operating system while building an EC2 instance in Amazon but not an RDS instance. You would be able to increase the disk space and the type of storage while choosing your DBaaS. Most vendors support on-demand upgrades to storage capacity, which in turn gives you more IOPS. But you may not be able to partition the disks or select physically partitioned disks to balance the IO across multiple disks while using a DBaaS.

While choosing the database type, you can select a supported version of the database software and any extensions that help you look into the diagnostic data or PostgreSQL. Many cloud vendors do provide APIs for automated provisioning/DevOps style of orchestration of DBaaS. They provide APIs for monitoring and managing services. A few cloud vendors also provide dashboards that help you look into the underlying CPU, memory utilizations, disk IO, replication lag, and a lot more for free. DBaaS has a few limitations and thus customers will choose an instance or a virtual server if their requirements are not met.

The following list describes a few of the features that may not be available with DBaaS and could be a great concern while using DBaaS.

• Choosing multiple disks to redirect logs, transaction logs, and data files. Separation of storage volumes is common practice to decrease the IO bottlenecks and improve the performance of the database.

• If you have a concern with the disk IO due to the previous limitation, you may need to purchase more disk space to get more IO.

• Additional storage space, which is not be usable by the database, cannot be used for any other purpose such as storing HTML files or backups.

• You do not get a choice to install most of the Open Source extensions available while using DBaaS. In a way, you are at the mercy of the cloud vendor to provide extensions.

• You cannot create tablespaces while using DBaaS. It is common practice to create tablespaces that span on different storage volumes to improve the performance of a database. You might want to create partitions of frequently accessed transactional tables and redirect them to multiple tablespaces.

Administration

As a user, you may not want to deal with sophisticated platforms that require a lot of knowledge to implement DBaaS or an infrastructure on the cloud. Gone are the days when you implemented a database using numerous manual steps. Users like to view the performance data and the diagnostic data, including the methods to monitor this, in a few clicks.

Chapter 1 IntroduCtIon to databases In the Cloud

Every well-known cloud vendor provides several APIs that not only help when provisioning a database environment but also give users several features to enable monitoring and alerting in a few clicks. Vendors provide several dashboards that help users view all the performance data for diagnostics in single page or multi-page views. Most everyday DBA activities include database cloning and database refreshes to enable functional and performance testing. Simplified cloning procedures help users perform database refreshes and cloning and are just a few clicks away. Hence, the time consumed in refreshing a development, testing, QA, and performance environments can be avoided by several APIs and options for refreshing.

Several maintenance operations can be configured automatically without an impact on the application or on the users connected to the database while using DBaaS.

Monitoring

Most of the monitoring tools used with database environments require great effort from the DBAs in terms of setup and configuration. An admin has to build the monitoring server to configure monitoring for all his database environments and manage the monitoring server. If the monitoring server goes down, there is nothing that can continue monitoring a database environment. With DBaaS, you get several monitoring and alerting mechanisms. This saves you time and allows you to build an efficient monitoring system, as most of the monitoring checks are derived from the most frequent customer requests.

High Availability

An important question raised by many users and businesses is whether a DBaaS solution enables options for high availability.

Chapter 1 IntroduCtIon to databases In the Cloud

This is one of the important ways to avoid downtime and loss during disasters. DBaaS does indeed provide several high availability features in the case of disasters.

Most customers look for options that provide seamless failovers during disaster recoveries. In fact, it may not be the DBaaS, but the cloud vendors, that allow us to configure load balancers and set up several other features that make a system highly available automatically and seamlessly.

Scalability

The issue of scalability is raised by many customers who build their data warehouses and critical transactions systems on the cloud using DBaaS. The massive growth of data is a very big issue. Several petabytes of data are generated every day. In such a world, where we see several millions of transactions in a few critical transaction systems and several terabytes of data in a few data warehouse environments, scalability is a burning need. This same concern is likely raised for DBaaS. However, cloud vendors who provide DBaaS are well equipped with the features that enable scalability. You can still continue to partition your database tables and perform archiving as usual. We have all the possibilities to incrementally add hardware with new requirements but not anytime earlier and not in a hurry. Most cloud vendors provide load balancers that allow you to distribute your transactions across multiple database services.

Security

The database technology has advanced to the level where access management can be considered at the cluster/instance and server levels, as well as the database level. The user is created inside the database and has to be assigned the required roles and privileges to connect and perform actions on the database. This advanced to the host-based authentication techniques on Open Source databases such as PostgreSQL

Another random document with no related content on Scribd:

The Project Gutenberg eBook of 14000 miles, a carriage and two women

This ebook is for the use of anyone anywhere in the United States and most other parts of the world at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it under the terms of the Project Gutenberg License included with this ebook or online at www.gutenberg.org. If you are not located in the United States, you will have to check the laws of the country where you are located before using this eBook.

Title: 14000 miles, a carriage and two women

Author: Frances S. Howe

Release date: August 31, 2023 [eBook #71527]

Language: English

Original publication: United States: Sentinel Printing Co, 1906

Credits: Fiona Holmes and the Online Distributed Proofreading Team at http://www.pgdp.net (This file was produced from images generously made available by The Internet Archive/American Libraries.) *** START OF THE PROJECT GUTENBERG EBOOK 14000 MILES, A CARRIAGE AND TWO WOMEN ***

Transcriber's Note

Page 74 enthusiatically changed to enthusiastically

Page 127 lettter changed to letter

Page 215 Pemigewassett changed to Pemigewasset

Page 263 hime changed to home

Page 271 spic changed to spick

Ready for a Seven Hundred Miles Drive. See page 265.

14000 MILES

A CARRIAGE AND TWO WOMEN

“AWAY, AWAY FROM MEN AND TOWNS TO THE WILDWOOD AND THE DOWNS.”

—Shelley

PRIVATELY PRINTED 1906

C, 1906,

F S. H.

.

FOREWORD.

Many of these informal reports of more than 14,000 miles’ driving were written for the Boston Evening Transcript some years ago, and the later letters for the Leominster Daily Enterprise. They cover an unbroken series of summer and autumn journeys, which have never lost any of the freshness and charm of that first little trip of two hundred miles along the Connecticut. A drive across the continent, or even on the other side of the water would seem less of an event to us now than that first carriage journey. This volume is a response to “You ought to make a book,” from many who have been interested in our rare experience.

Leominster, Mass.

I. S T P, 1

II. C T A D, 16

III. O O B, 32

IV. M F N, 48

V. C, N J, 73

VI. D N O O, 91

VII. C, L G G M, 109

VIII. N P M P, 127

IX. W M V, (A S H M D.)

X. B P C, (N S H M T.)

XI. O M,

XII. B H B,

XIII. D N N S,

XIV. T K J,

XV. O H B, (1894 TO 1904.)

XVI. L M,

POSTSCRIPT. B J S H

M D, C N E S.

14000 MILES

CHAPTER I.

SUMMER TRAVELS IN A PHAETON.

“We were a jolly pair, we two, and ladies at that; and we had decided to go, amid the protestations of the towns-people and the remarks of Madam Grundy that it was not proper, and that there were so many tramps it was not prudent for two ladies to take a trip with their horse and carriage along the North Shore. Nevertheless, we take our lives in our hands, and ‘do the trip’ in a large comfortable, roomy buggy,” etc.

A letter in the Boston Evening Transcript, under the heading “Along the North Shore,” from which the paragraph above is taken, so aptly describes a part of one of our journeys, that we cannot resist the temptation to tell you something of our travels, which our friends no longer consider daring and experimental, but a thoroughly sensible and delightful way of combining rest and pleasure.

In the summer of 1872, “we two, and ladies at that,” made our trial trip, with the consent and approval of family friends for our encouragement, and the misgivings and fears of those outside to inspire us with caution. Tramps were not in fashion, and I have forgotten what was the terror of those days. Like the “other two,” we were equipped with a pet horse—safe, but with no lack of spirit—a roomy phaeton, with lunch basket, wraps, books, fancy work and writing materials all at hand. Our bags, with rubber coverings, were strapped underneath the carriage. Some cautious reader may like to know that we did not forget to put in the “box” a wrench, a bottle of oil, strong cord, etc., for emergencies. Of course we had a map, for geography was not taught very practically in our school days, and we should be lost without one. We made no definite plans beyond the first day, but had vaguely in mind, if all went well, to drive through the valley of the Connecticut River.

Our first day’s ride took us around Wachusett. We did not delay to climb its woody slopes, for we had many times visited our little

mountain, and knew its charms by heart. It was new scenes we were seeking, and we were eagerly anticipating the drive along the Connecticut, fancying that much more beautiful and romantic than the familiar hills. It was not until we reached the hot, sandy roads, and were surrounded by tobacco fields, with rarely a glimpse of the river, that we realized that valleys are most enjoyable when seen from the hill-tops. The peculiar charm of the view from Mt. Holyoke we can never forget. A picture like that of the Northampton meadows, with the silvery river winding through them, we have found on no other hill or mountain-top.

If this trial journey had proved our last, we would like to recall it in detail; but, as it has been succeeded by others more extended, we must hastily pass by the novelty of our first crossing the Connecticut by ferry, the historic points of interest in old Deerfield, the terrific thunderstorm just after we left Greenfield, the Broad Brook drive as we neared Brattleboro, the profuse quantity of lovely maidenhair ferns by the roadside, dripping with the morning rain, our lunch on the shore of Lake Spofford, and so on to Keene and Jaffrey.

How can we so hastily pass over the ascent of grand old Monadnock? Perhaps we enjoyed it all the more for the repeated protests of the youthful proprietor of the Mountain House, who assured us the feat was impossible, as the heavy showers which we had so much enjoyed in our morning drive had converted the path into a series of cascades. The mists which had entirely concealed the mountain were just breaking away, and we made the ascent in the face of warnings and water, yielding to no obstacles. Before we left the summit it was mostly clear, and we thought little of our moist condition or the difficulties of the descent before us as we feasted our eyes, watching the showers as they moved on from village to village in the valley below, leaving a burst of sunlight in their wake. Our descent was rapid, notwithstanding difficulties, and when we reached the hotel, so delightfully located on the side of the mountain, we forthwith decided to prolong our stay. After a cosy supper, for we were the only guests, we repaired to the rocks to watch the sunset clouds, which are rarely finer. It was mild, and we lingered while the darkness gathered, until the mountain looked so black and lonely we

did not like to think we had stood on that peak alone only a few hours before. While we watched, the clouds began to brighten, and soon the moon appeared in her full glory, making the whole scene one of indescribable beauty. The next day was Sunday, and a lovelier day never dawned. The peculiar Sunday quiet pervaded the very atmosphere, and we sat on the rocks reading, writing and musing all day, enjoying such a season of rest as one seldom experiences.

Two days more passed, and we were safe at home, after an absence of only ten days, and about two hundred miles’ driving, but with delightful recollections, which cannot be forgotten in a lifetime. This trial trip was so successful that when another summer came it was taken for granted by our friends that we should try again, and we started, equipped as before with map, but no plan—only an inclination to face north. Following this inclination took us through many thrifty towns and villages, and gave us delightful drives over hills and through valleys, until we found ourselves spending a night with the Shakers on the top of a high hill in Canterbury, N. H. The brothers and sisters were unsparing in their attentions, though strict in certain requirements. We left them next morning, with a generous Shaker lunch in our basket, and turned our horse toward Alton Bay. As Brother George and Sister Philena assured us, it was the longest, roughest and loneliest ten miles’ drive we had ever taken. The round trip on Lake Winnipiseogee the following day was a delightful contrast.

We now began to study our map, for we had not even a vague idea where next. We started at last, not anxious, but aimless; and after wandering several days in obedience to the will of the hour, landed on Wells Beach; we passed Sunday on York Beach; then drove on to Portsmouth, where we left our horse for a day to visit the Isles of Shoals. The places of resort and interest as we followed the coast to Gloucester, Rye, Hampton, Salisbury, etc., are well known. After refreshing ourselves at Gloucester with rowing and moonlight bathing we returned to Newburyport, where we saw the homes of Lord Timothy Dexter, Harriet Prescott Spofford, and others of note. An excursion on the Merrimac in a barge, and the drive by the river

road to Bradford and Haverhill, we found very pleasant. It was in this vicinity that, for the first time, we were received ungraciously. The good landlady of an old-fashioned inn reluctantly received us, after rebuking us for the abuse of our horse, little knowing how much more thoughtful we were of him than of ourselves. He looked tired that night, for the seashore had not agreed with him, and I think had her knowledge extended so far, she would have reported us to the S. F. T. P. O. C. T. A. However, after cross-examination, she conducted us to a room spotlessly clean, the floor covered with the choicest of braided mats, and two beds mountain high, but expressly enjoined us “not to tumble but one of them.” We left the next morning laden with good advice, which, carefully followed, returned us safely home ere many days, with our horse in better condition than when we started on our journey.

Of course we were ready to go again the next year, this time starting southerly, spending nights in Northboro, Franklin, Taunton and Tiverton Stone Bridge. Thus far the scenery and roads do not compare favorably with those in New Hampshire; but when we reached Newport, we were compensated for lack of interesting driving.

Margery Deane tells your readers all one needs to know of this place of places. So we will find our way to New Bedford, leave our horse and take a look at Martha’s Vineyard for a few days. Our first impression of the “Cottage City” was that of a miniature Newport; but this every one knows all about, so we will go on to Plymouth, where we saw everything worth seeing. Plymouth Rock would have satisfied us more fully had it looked as it does in the pictures of the “Landing,” instead of being out in the midst of dry land, with a pagoda built over it, and inscriptions to remind one that it is not an ordinary flagstone.

We found much that interested us in Marshfield, Hingham, and Milton with its Blue Hills. We have not forgotten a night at the homelike Norfolk House, and an afternoon devoted to the famed residences in Watertown. We drove to Point Shirley one morning during our stay near Boston, and on returning gave our journey another historic touch by going to the top of Bunker Hill Monument;

and still another a few days later, as we visited the old battle-grounds in Lexington and Concord, on our way home.

Before another summer, whispers of tramps were heard, and soon they were fully inaugurated, making us tremble and sigh as we thought of the opposition that threatened us. A revolver was suggested, in case we persisted in facing this danger, and finally as go we must, we condensed our baggage that it might be out of sight, and confidently took the reins, having no fear of anything ahead, so long as our greatest terror—a loaded revolver—was close at hand, not “hidden away in one corner under the seat,” but in a little pocket made on purpose, where it could be seized without delay when our game appeared. As we shall not refer to our “companion” again, never having had occasion to use it, we will say here that it is no longer a terror but a sort of chaperone, in whose care we rest secure.

Our driving this season was within the limits of our own State, and we have yet to find anything more truly beautiful than western Massachusetts, with its Berkshire hills and grand old towns, Stockbridge, Lee and Lenox. Our map was on a small scale, and the distance from Pittsfield to the Hudson River looked very short, so we ordered good care for our horse, and took the six o’clock train one morning for Hudson, where we met the boat for New York. The day was perfect, and our enjoyment complete. We reached the city at dusk, and next thought to surprise a friend, twenty miles out, in New Jersey, where we received a joyous welcome. The next day we devoted to New York, returning by night boat to Hudson, and before nine o’clock the following morning, after forty miles by rail again, we resumed our driving from Pittsfield, delighted with our side trip of nearly four hundred miles, but oh! so glad to be in our cosy phaeton once more. The homeward route was full of interesting details, which we must leave.

Centennial year came next, and we made our shortest trip, driving only one hundred and fifty miles in New Hampshire in early autumn. The tramp terror increased at home and abroad, and when summer came again our “guardians” looked so anxious, we said nothing, and

went camping instead of driving. A party of twelve, on the shores of Lake Wachusett, with royal accommodations in the number and size of tents and hammocks and three boats at a private landing, diverted us at the time. But, as the season waned, we pined, and before October was gone we were permitted to revolve around the “Hub” for two weeks, supposed to be quite safe, while so near the centre of civilization. It was like a June day when we sat on the rocks at Nahant, and like November when dreariest, as we drove around Marblehead Neck, and watched the ocean so dark and angry; while the chill winds pierced our thickest wraps only a few days later We shall not soon forget our drive from Cambridge to Hingham in the severest northeast storm of the season, or our delight on the rocks at Nantasket, after this three-days’ storm cleared, and we felt the dashing spray. Our “Hub” journey was none the less interesting for being familiar, and we did not omit the attractions of Wellesley on our way home.

Early in the following July, the New Hampshire tramp law having come to our rescue, we once more turned our faces toward the ever beautiful Lake Winnipiseogee. We renewed our acquaintance with the Canterbury Shakers, and as we always avail ourselves of whatever is new or interesting in our path, stopped over for a day at Weirs Landing to witness the inauguration of the Unitarian grove meetings. After the opening of this feast of reason we were of one mind, and without delay provided good board and care for our horse for a week, and settled down to three and four services a day. After the accomplishment of this feat we visited points of interest about Centre Harbor. In accordance with our usual good fortune we had a perfectly clear day on Red Hill, and appreciated all Starr King has written of its charms. The day spent at Ossipee Falls and Cascades gave us unbounded pleasure. We reveled in the rough walking and climbing, and after exploring above and below the falls, we were all ready to enjoy the lunch our hostess had prepared for our party, which we spread on a huge rock in the narrow gap. Our horse rested while we climbed, and the ten miles return drive to Centre Harbor required our utmost skill. On the following day we drove to Concord, N. H., a distance of forty miles. After spending a few days with friends in this charming place, we drove on, passing a night at the

Mountain House, Monadnock, to refresh the memories of our first visit there, and breathing the pure air of Petersham, Barre and Princeton as we journeyed towards our own beautiful Leominster.

After these seven years’ wanderings, we were considered virtually members of the great “Order of Tramps,” and from that time to the present we have had full and free consent “to go to our own company”; and when we boldly proposed crossing the Green Mountains to pay a visit to friends near Lake Champlain, all agreed it would be a delightful thing for us to do. We closely followed the familiar railroad route through Keene, Bellows Falls and Rutland; it was a glorious drive all the way. At one time we seemed buried in the mountains without any way of escape, but we had only to follow our winding road, which after many twistings and turnings brought us to Ludlow. The next night we were safely over the mountains, and soon were with our friends.

Our week in the cosy town of Benson, surrounded by high hills, must be left to your imagination. We will only tell you of a visit to Lake George. A party of fifty, we started at six o’clock one morning, in all sorts of vehicles. Four miles’ jolting up and down steep hills took us to Benson Landing, Lake Champlain, and in course of time (a dozen people in a heavy two-horse wagon, and two other vehicles on a scow, towed by two men in a row-boat, is by no means rapid transit,) the several detachments of our party were safely landed on the opposite side. And then, what a ride! We never dreamed that the narrow strip of land between Lake Champlain and Lake George, only four miles across, could give us so much pleasure. At first we held our breath, but soon learned that the driver and horses were quite at home, and gave our fears to the winds as they galloped up hills almost perpendicular only to trot down again to the sound of the grating brakes, the wheels going over great rocks on one side one minute and down in a deep rut on the other side the next. We many times congratulated ourselves that we joined the party in the big wagon, instead of driving our good Charlie, as first planned. The steepest pitch of all brought us at last to the shore of the beautiful Lake George, at a point about ten miles south of Ticonderoga, where the boat was to meet us by special arrangement.

Only those who have experienced it can realize what we enjoyed on that bright day, as we glided over the mirror-like waters, enraptured with the loveliness surrounding us.

After a few hours’ rest at Fort William Henry, we were ready for the return sail. As we landed, our driver stood by his horses, eager for a start; a few of us expressed our willingness to walk for a while, possibly remembering the last fearful pitches in that rough road, as well as the beautiful cardinal flowers and ferns we desired to gather. After a walk and run of nearly two miles, the driver summoned us to the wagon, just before we reached the pitch we most dreaded and were hastening to avoid. We obeyed, and now galloped on until we reached Lake Champlain again, and took breath while we slowly ferried across in the gathering twilight. Our remaining four miles was a glorious moonlight drive. As we entered the village it seemed impossible that we had been away only since morning, for we had seen and enjoyed so much.

The next day we turned our thoughts homeward. Not wishing to return by the same route, we ventured into New York State, and after two or three days reached Saratoga Springs. All frequenters of this resort can easily imagine our routine there—the drive to the lake at the approved time, etc. The roving spirit so possessed us that we left the scene of gayety without regret, and on we went over the hills to take a look at Bennington on our way to North Adams. We drove over Hoosac Mountain, but have yet to see its charms; the mist concealed everything but our horse. We waited two hours at a farmhouse near the summit for fair weather, but in vain. As we started in despair the clouds parted for an instant, giving us glimpses into the valley, then united and came down upon us in a deluging rain. Our dripping horse carefully picked his way down the steep mountain, and when we reached the level road the water was nearly a foot in depth for some distance. We splashed along quite happy, for this was not half so aggravating as the fitful mist of the morning, which every moment promised to clear away. The rest of our journey was pleasant, but uneventful.

As we reviewed the drive of four hundred miles, we felt we must have reached the climax within our limits. But no! we added another

hundred miles, and extended our time to nearly a month on our next trip.

Lacking definite plans as usual, we drove to Lake Winnipiseogee once more, thinking another session of the Grove meeting at Weirs would be a good beginning. When the glorious week ended, there was seemingly an adjournment to the White Mountains, and as we had faithfully attended these meetings from the first, it was clearly our duty to follow; so on we drove, resting our horse at Plymouth, spending the night at Campton Village, and next day visiting in turn the attractions of the Pemigewasset Valley, the Flume, Pool, Basin, Profile and Echo Lake. Passing on through the beautiful Notch, night overtook us at Franconia. On our way to Bethlehem, the following morning, we left our horse for an hour and walked up Mt. Agassiz, which well repaid the effort. With the aid of a glass we traced the drive before us, through Bethlehem’s one long street, past the Twin Mountain House and along the Cherry Mountain road, turning until it nearly described a half-circle, and finally reaching Jefferson.

We realized far more than Mt. Agassiz promised. We were leaving the beauties of the Franconia Mountains and nearing the grandeur of the White Mountain range, and in many respects it was the most impressive drive of our journey. The last four miles from Jefferson to the Highlands, just at sunset facing Mts. Washington, Jefferson, Adams and Madison, was beyond description. Here we spent several days; for three reasons: We had surely found the headquarters of the “adjournment,” for we met many Weirs friends; then, too, we were floating about on the northerly margin of our map, and could go no farther in that direction, and lastly, we were waiting for a favorable day for Mt. Washington.

One of these waiting days we spent on Mt. Adams; two of us, out of our party of seven, registering our names in the “little tin box” at the summit.

It was an exhausting climb of four miles, up the roughest and most beautiful path imaginable, marked out by the Appalachian Club. We encountered four hailstorms, and suffered extremely from cold on that August day, but the five minutes’ perfectly clear view more than

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.